Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 108.8 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0023/0.0023, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.92 kB / 371.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2383, allocations: 52.19 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.00763/0.246, allocations: 6.1 MB / 430 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.2492, allocations: 1.533 MB / 431.5 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006286/0.2498, allocations: 19.94 kB / 431.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.2502, allocations: 166.3 kB / 431.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007092/0.2509, allocations: 301.2 kB / 432 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000872/0.2518, allocations: 403.4 kB / 432.4 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.2534, allocations: 1.391 MB / 433.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/0.2539, allocations: 305.7 kB / 434.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000676/0.2546, allocations: 0.5023 MB / 434.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007107/0.2553, allocations: 0.568 MB / 435.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.2554, allocations: 136 kB / 435.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.2557, allocations: 171.9 kB / 435.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.256, allocations: 275.2 kB / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.2565, allocations: 0.591 MB / 436.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.2581, allocations: 1.539 MB / 437.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.2581, allocations: 0 / 437.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2581, allocations: 0 / 437.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.106e-05/0.2581, allocations: 4 kB / 437.9 MB, free: 0.625 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002808/0.2609, allocations: 1.33 MB / 439.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.261, allocations: 12.03 kB / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.2612, allocations: 120.2 kB / 439.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008362/0.262, allocations: 0.494 MB / 439.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.043e-05/0.2621, allocations: 70.31 kB / 439.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.2622, allocations: 88.33 kB / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.2639, allocations: 0.8587 MB / 440.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.2639, allocations: 3.984 kB / 440.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.264, allocations: 36 kB / 440.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.264, allocations: 24 kB / 440.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.2657, allocations: 0.855 MB / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005838/0.2716, allocations: 3.153 MB / 444.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.2727, allocations: 0.625 MB / 445.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007293/0.2735, allocations: 403.1 kB / 445.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.255e-05/0.2735, allocations: 8.656 kB / 445.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.2736, allocations: 43.22 kB / 446 MB, free: 8.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.895e-06/0.2736, allocations: 0 / 446 MB, free: 8.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004733/0.2783, allocations: 2.205 MB / 448.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2783, allocations: 64.06 kB / 448.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007886/0.2791, allocations: 0.6096 MB / 448.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/0.2792, allocations: 37.7 kB / 448.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.2795, allocations: 448.3 kB / 449.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.2798, allocations: 277.7 kB / 449.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.2801, allocations: 146.6 kB / 449.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.2803, allocations: 382.8 kB / 450.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007391/0.281, allocations: 329.9 kB / 450.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/0.2818, allocations: 476.6 kB / 450.9 MB, free: 3.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.2833, allocations: 0.8047 MB / 451.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2833, allocations: 0 / 451.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002329/0.2856, allocations: 1.111 MB / 452.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.2856, allocations: 10.5 kB / 452.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.2856, allocations: 4 kB / 452.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.2862, allocations: 192.7 kB / 453 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/0.2871, allocations: 191.8 kB / 453.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/0.2912, allocations: 2.781 MB / 456 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007319/0.292, allocations: 36.05 kB / 456 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/0.292, allocations: 35.92 kB / 456.1 MB, free: 13.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004124/0.2924, allocations: 229.7 kB / 456.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.2926, allocations: 95.36 kB / 456.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.2928, allocations: 99.25 kB / 456.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2928, allocations: 4 kB / 456.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.2928, allocations: 4 kB / 456.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2928, allocations: 3.984 kB / 456.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.294, allocations: 0.8602 MB / 457.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.294, allocations: 3.938 kB / 457.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/0.2948, allocations: 143.8 kB / 457.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000545/0.2953, allocations: 188.8 kB / 457.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.2954, allocations: 19.98 kB / 457.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/0.2994, allocations: 2.804 MB / 460.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2994, allocations: 0 / 460.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.3022, allocations: 1.416 MB / 461.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.3024, allocations: 75.56 kB / 462 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.3025, allocations: 19.94 kB / 462 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/0.3031, allocations: 51.95 kB / 462.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.3033, allocations: 56.48 kB / 462.1 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.3033, allocations: 27.98 kB / 462.1 MB, free: 7.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005548/0.3039, allocations: 427.1 kB / 462.6 MB, free: 7.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3039, allocations: 0 / 462.6 MB, free: 7.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008424/0.3047, allocations: 240 kB / 462.8 MB, free: 7.008 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002329/0.305, allocations: 127.2 kB / 462.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002314/0.3073, allocations: 0.9938 MB / 463.9 MB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3073, allocations: 3.938 kB / 463.9 MB, free: 5.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.3087, allocations: 0.6082 MB / 464.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007516/0.3094, allocations: 163 kB / 464.7 MB, free: 5.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.313, allocations: 2.052 MB / 466.7 MB, free: 2.992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/0.3136, allocations: 0.9814 MB / 467.7 MB, free: 1.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.3139, allocations: 67.41 kB / 467.8 MB, free: 1.918 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3139, allocations: 0 / 467.8 MB, free: 1.918 MB / 366.1 MB Notification: Performance of Templates: time 0.0218/0.3357, allocations: 15.05 MB / 482.8 MB, free: 2.914 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.479216768871993]