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.001444/0.001444, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.00153/0.00153, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.426/1.426, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.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.001562/0.001562, allocations: 46.98 kB / 319.4 MB, free: 3.441 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.0934, allocations: 52.16 MB / 371.6 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007089/0.1005, allocations: 5.335 MB / 376.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.1034, allocations: 1.486 MB / 378.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005176/0.1039, allocations: 19.94 kB / 378.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.1043, allocations: 170.3 kB / 378.6 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.1049, allocations: 293.2 kB / 378.9 MB, free: 132 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.1057, allocations: 415.4 kB / 379.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.1071, allocations: 1.383 MB / 380.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004631/0.1076, allocations: 293.6 kB / 381 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005856/0.1082, allocations: 0.5023 MB / 381.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006773/0.1088, allocations: 0.4938 MB / 381.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.109, allocations: 136 kB / 382.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.1094, allocations: 171.9 kB / 382.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.1096, allocations: 271.2 kB / 382.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005119/0.1101, allocations: 493.9 kB / 383 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.1118, allocations: 1.553 MB / 384.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1118, allocations: 0 / 384.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1118, allocations: 0 / 384.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.1118, allocations: 4 kB / 384.6 MB, free: 10.41 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.003058/0.1149, allocations: 1.342 MB / 385.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1149, allocations: 8.922 kB / 385.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.1151, allocations: 120.2 kB / 386 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009561/0.1161, allocations: 493.8 kB / 386.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.1161, allocations: 66.38 kB / 386.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.1163, allocations: 100.3 kB / 386.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.118, allocations: 1.106 MB / 387.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.1181, allocations: 4 kB / 387.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.849e-05/0.1182, allocations: 36 kB / 387.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.1183, allocations: 20 kB / 387.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.1201, allocations: 0.8472 MB / 388.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006455/0.1266, allocations: 2.774 MB / 391.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.1279, allocations: 0.6257 MB / 392.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007792/0.1287, allocations: 395.2 kB / 392.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.013e-05/0.1288, allocations: 12.59 kB / 392.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.1288, allocations: 39.22 kB / 392.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 3.737e-06/0.1288, allocations: 0 / 392.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005274/0.1341, allocations: 2.202 MB / 394.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1341, allocations: 64 kB / 394.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/0.1349, allocations: 0.5498 MB / 395.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.1349, allocations: 37.7 kB / 395.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.1354, allocations: 456.2 kB / 395.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.1357, allocations: 269.7 kB / 396.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.136, allocations: 146.6 kB / 396.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.1362, allocations: 382.8 kB / 396.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.1369, allocations: 329.9 kB / 396.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/0.1377, allocations: 476.5 kB / 397.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.1392, allocations: 0.8047 MB / 398.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1392, allocations: 0 / 398.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002359/0.1416, allocations: 1.107 MB / 399.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1416, allocations: 11.94 kB / 399.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1416, allocations: 4 kB / 399.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/0.1422, allocations: 187.6 kB / 399.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009596/0.1431, allocations: 195.8 kB / 399.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/0.1473, allocations: 2.716 MB / 402.4 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/0.1479, allocations: 36.03 kB / 402.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/0.1479, allocations: 36 kB / 402.5 MB, free: 7.945 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.0003788/0.1483, allocations: 237.6 kB / 402.7 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.1485, allocations: 87.41 kB / 402.8 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.1486, allocations: 94.52 kB / 402.9 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1487, allocations: 8 kB / 402.9 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.1487, allocations: 4 kB / 402.9 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.1487, allocations: 3.984 kB / 402.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.1497, allocations: 0.6075 MB / 403.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1497, allocations: 4 kB / 403.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000811/0.1505, allocations: 143.8 kB / 403.6 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/0.151, allocations: 176.8 kB / 403.8 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.1511, allocations: 27.98 kB / 403.8 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004013/0.1551, allocations: 2.731 MB / 406.6 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1551, allocations: 4 kB / 406.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/0.158, allocations: 1.42 MB / 408 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1581, allocations: 63.52 kB / 408.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.1582, allocations: 16 kB / 408.1 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/0.1588, allocations: 63.89 kB / 408.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.159, allocations: 52.73 kB / 408.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.159, allocations: 23.98 kB / 408.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004773/0.1595, allocations: 378.8 kB / 408.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1595, allocations: 0 / 408.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000828/0.1603, allocations: 240 kB / 408.8 MB, free: 1.43 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.0002237/0.1606, allocations: 139.2 kB / 409 MB, free: 1.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.1629, allocations: 0.9937 MB / 409.9 MB, free: 284 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1629, allocations: 4 kB / 409.9 MB, free: 280 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.1643, allocations: 0.6121 MB / 410.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.1649, allocations: 126.3 kB / 410.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.1682, allocations: 2.002 MB / 412.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.1686, allocations: 391 kB / 413.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003316/0.1689, allocations: 85.11 kB / 413.2 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.1691, allocations: 60.47 kB / 413.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1691, allocations: 0 / 413.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of Templates: time 0.02043/0.1895, allocations: 10.82 MB / 424 MB, free: 2.285 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 -s ida -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: 4.847645821981132]