Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001779/0.001779, allocations: 79.27 kB / 21.24 MB, free: 0.5391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 160.9 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 65.05 kB / 325.6 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.1018, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007363/0.1092, allocations: 5.361 MB / 384.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.1145, allocations: 1.509 MB / 385.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.1155, allocations: 19.94 kB / 385.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005012/0.116, allocations: 174.2 kB / 386 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006723/0.1167, allocations: 297.3 kB / 386.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009599/0.1176, allocations: 419.3 kB / 386.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.1192, allocations: 1.391 MB / 388.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.1197, allocations: 281.7 kB / 388.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006927/0.1203, allocations: 0.5024 MB / 388.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/0.121, allocations: 0.4976 MB / 389.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.1212, allocations: 140 kB / 389.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.1215, allocations: 184 kB / 389.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.1217, allocations: 271.1 kB / 389.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004801/0.1222, allocations: 0.4901 MB / 390.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.1237, allocations: 1.553 MB / 392 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1237, allocations: 0 / 392 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1237, allocations: 0 / 392 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.1238, allocations: 0 / 392 MB, free: 2.312 MB / 350.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.002609/0.1264, allocations: 1.334 MB / 393.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1264, allocations: 12.03 kB / 393.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.1268, allocations: 128.2 kB / 393.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007958/0.1275, allocations: 0.5016 MB / 394 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.1276, allocations: 66.38 kB / 394 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.1277, allocations: 88.38 kB / 394.1 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.1295, allocations: 1.114 MB / 395.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.1295, allocations: 0 / 395.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.237e-05/0.1296, allocations: 36 kB / 395.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.1296, allocations: 20 kB / 395.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.1312, allocations: 0.851 MB / 396.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005347/0.1366, allocations: 2.766 MB / 398.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.1381, allocations: 0.6218 MB / 399.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.1391, allocations: 395.4 kB / 399.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-05/0.1392, allocations: 8.656 kB / 399.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.1392, allocations: 43.22 kB / 400 MB, free: 10.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 3.216e-06/0.1392, allocations: 3.938 kB / 400 MB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006791/0.146, allocations: 2.197 MB / 402.2 MB, free: 7.855 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.146, allocations: 60.06 kB / 402.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.1471, allocations: 0.5575 MB / 402.8 MB, free: 7.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/0.1471, allocations: 41.7 kB / 402.8 MB, free: 7.172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005617/0.1477, allocations: 448.3 kB / 403.2 MB, free: 6.727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.148, allocations: 273.7 kB / 403.5 MB, free: 6.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/0.1484, allocations: 146.6 kB / 403.7 MB, free: 6.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.1486, allocations: 382.8 kB / 404 MB, free: 5.926 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.1497, allocations: 329.8 kB / 404.4 MB, free: 5.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.1508, allocations: 464.6 kB / 404.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.153, allocations: 0.8047 MB / 405.6 MB, free: 4.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.153, allocations: 0 / 405.6 MB, free: 4.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003393/0.1564, allocations: 1.107 MB / 406.7 MB, free: 3.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.1564, allocations: 7.938 kB / 406.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1564, allocations: 4 kB / 406.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007985/0.1572, allocations: 191.9 kB / 406.9 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.1585, allocations: 203.7 kB / 407.1 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005798/0.1643, allocations: 2.721 MB / 409.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/0.1653, allocations: 36.03 kB / 409.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.1654, allocations: 35.94 kB / 409.9 MB, free: 15.84 MB / 382.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.0006003/0.166, allocations: 225.7 kB / 410.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.1663, allocations: 83.52 kB / 410.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.1665, allocations: 90.53 kB / 410.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.1665, allocations: 8 kB / 410.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.1666, allocations: 4 kB / 410.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.1666, allocations: 3.984 kB / 410.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.168, allocations: 0.6036 MB / 410.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.168, allocations: 7.875 kB / 410.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.1691, allocations: 155.8 kB / 411.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007598/0.1698, allocations: 176.7 kB / 411.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-05/0.1699, allocations: 19.98 kB / 411.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00574/0.1757, allocations: 2.744 MB / 414 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1757, allocations: 0 / 414 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/0.1801, allocations: 1.42 MB / 415.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.1805, allocations: 67.53 kB / 415.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.1807, allocations: 15.98 kB / 415.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/0.1816, allocations: 51.91 kB / 415.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.1818, allocations: 60.55 kB / 415.6 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.182, allocations: 23.98 kB / 415.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008602/0.1828, allocations: 382.8 kB / 416 MB, free: 9.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1828, allocations: 0 / 416 MB, free: 9.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001555/0.1844, allocations: 235.9 kB / 416.3 MB, free: 9.34 MB / 382.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.0003751/0.1847, allocations: 127.2 kB / 416.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003384/0.1881, allocations: 1.002 MB / 417.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.1881, allocations: 0 / 417.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.1901, allocations: 0.6158 MB / 418 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.1912, allocations: 126.5 kB / 418.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.195, allocations: 1.996 MB / 420.1 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.1955, allocations: 395 kB / 420.5 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003933/0.1959, allocations: 89.09 kB / 420.6 MB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.196, allocations: 56.42 kB / 420.6 MB, free: 4.852 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.196, allocations: 4 kB / 420.6 MB, free: 4.848 MB / 382.1 MB Notification: Performance of Templates: time 0.0217/0.2177, allocations: 10.83 MB / 431.5 MB, free: 10.19 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.886600450961851]