Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 168.7 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.094e-05, allocations: 2.312 kB / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005106/0.005127, allocations: 5.885 MB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.008419, allocations: 1.594 MB / 281 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006575/0.009077, allocations: 23.88 kB / 281 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.009412, allocations: 166.3 kB / 281.2 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008789/0.01029, allocations: 317 kB / 281.5 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.01101, allocations: 411.2 kB / 281.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009839/0.012, allocations: 1.445 MB / 283.3 MB, free: 7.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.01235, allocations: 297.7 kB / 283.6 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009057/0.01326, allocations: 0.7603 MB / 284.4 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004667/0.01372, allocations: 458.7 kB / 284.8 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.01386, allocations: 136 kB / 285 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.01411, allocations: 187.8 kB / 285.1 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.01424, allocations: 279.1 kB / 285.4 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.01453, allocations: 423 kB / 285.8 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007952/0.01533, allocations: 0.9539 MB / 286.8 MB, free: 3.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01533, allocations: 0 / 286.8 MB, free: 3.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01534, allocations: 4 kB / 286.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.01535, allocations: 0 / 286.8 MB, free: 3.867 MB / 266.7 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.001485/0.01684, allocations: 1.309 MB / 288.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.01687, allocations: 8.031 kB / 288.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.01717, allocations: 168.7 kB / 288.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009569/0.01813, allocations: 373.2 kB / 288.6 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.01817, allocations: 70.31 kB / 288.7 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/0.01827, allocations: 96.33 kB / 288.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.0189, allocations: 0.806 MB / 289.6 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.01892, allocations: 192 / 289.6 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.01897, allocations: 40.36 kB / 289.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.01898, allocations: 27.94 kB / 289.7 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.01933, allocations: 269.8 kB / 289.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1054/0.1247, allocations: 2.059 MB / 292 MB, free: 25.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.1251, allocations: 358.2 kB / 292.3 MB, free: 25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.1253, allocations: 175.5 kB / 292.5 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.1253, allocations: 19.09 kB / 292.5 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1254, allocations: 46.81 kB / 292.6 MB, free: 24.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 3.166e-06/0.1254, allocations: 0 / 292.6 MB, free: 24.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001826/0.1272, allocations: 1.126 MB / 293.7 MB, free: 24.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.1272, allocations: 60.06 kB / 293.8 MB, free: 24.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.1275, allocations: 494.6 kB / 294.3 MB, free: 24.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1276, allocations: 42.11 kB / 294.3 MB, free: 24.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1277, allocations: 382.2 kB / 294.7 MB, free: 24.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/0.1278, allocations: 272.2 kB / 294.9 MB, free: 24.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.1279, allocations: 152.9 kB / 295.1 MB, free: 24.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.128, allocations: 387.4 kB / 295.5 MB, free: 23.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.1282, allocations: 91.17 kB / 295.5 MB, free: 23.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1284, allocations: 245.1 kB / 295.8 MB, free: 23.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.1288, allocations: 422.4 kB / 296.2 MB, free: 23.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1288, allocations: 1.25 kB / 296.2 MB, free: 23.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007164/0.1295, allocations: 0.547 MB / 296.7 MB, free: 23.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1295, allocations: 5.531 kB / 296.8 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1295, allocations: 3.656 kB / 296.8 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003058/0.1298, allocations: 141.3 kB / 296.9 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.1303, allocations: 220.3 kB / 297.1 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.1318, allocations: 1.991 MB / 299.1 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.1321, allocations: 27.8 kB / 299.1 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.1321, allocations: 25.47 kB / 299.2 MB, free: 22.12 MB / 266.7 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.0001306/0.1322, allocations: 149.9 kB / 299.3 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.854e-05/0.1323, allocations: 77.42 kB / 299.4 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.764e-05/0.1324, allocations: 92.14 kB / 299.5 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1324, allocations: 6.5 kB / 299.5 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.1324, allocations: 3.406 kB / 299.5 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.1324, allocations: 4.516 kB / 299.5 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.1329, allocations: 438.2 kB / 299.9 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1329, allocations: 2.156 kB / 299.9 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.1333, allocations: 172 kB / 300.1 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002804/0.1336, allocations: 145.2 kB / 300.2 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.1336, allocations: 19.7 kB / 300.2 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.1349, allocations: 1.98 MB / 302.2 MB, free: 20.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1349, allocations: 0 / 302.2 MB, free: 20.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007919/0.1357, allocations: 0.6846 MB / 302.9 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1358, allocations: 65.34 kB / 303 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.1358, allocations: 14.06 kB / 303 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.136, allocations: 49.23 kB / 303 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/0.1361, allocations: 58.33 kB / 303.1 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.1362, allocations: 19.73 kB / 303.1 MB, free: 20.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1363, allocations: 219.1 kB / 303.3 MB, free: 20.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1363, allocations: 0 / 303.3 MB, free: 20.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.1368, allocations: 243.1 kB / 303.6 MB, free: 20.31 MB / 266.7 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.000162/0.137, allocations: 111.3 kB / 303.7 MB, free: 20.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.1378, allocations: 0.6273 MB / 304.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/0.1378, allocations: 7.75 kB / 304.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004576/0.1382, allocations: 463 kB / 304.8 MB, free: 19.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1386, allocations: 136.9 kB / 304.9 MB, free: 19.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.1402, allocations: 1.509 MB / 306.4 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.84e-05/0.1403, allocations: 172.8 kB / 306.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.1405, allocations: 88.52 kB / 306.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.1408, allocations: 213.5 kB / 306.9 MB, free: 18.91 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1408, allocations: 0 / 306.9 MB, free: 18.91 MB / 266.7 MB Notification: Performance of Templates: time 0.01287/0.1537, allocations: 11.72 MB / 318.6 MB, free: 7.961 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.918202579021454]