Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001661/0.001661, allocations: 74.89 kB / 21.24 MB, free: 0.543 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.002003/0.002003, allocations: 162.2 kB / 24.5 MB, free: 3.852 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.49/1.49, allocations: 177.1 MB / 204.7 MB, free: 8.977 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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 57.78 kB / 325.6 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1029, allocations: 53.39 MB / 378.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004604/0.1075, allocations: 2.769 MB / 381.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1088, allocations: 0.7128 MB / 382.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.109, allocations: 8 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1092, allocations: 51.5 kB / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1094, allocations: 111.1 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.1097, allocations: 103.8 kB / 382.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.1102, allocations: 410.4 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.1104, allocations: 91.59 kB / 383.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.1105, allocations: 163.4 kB / 383.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1108, allocations: 151.3 kB / 383.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.1108, allocations: 43.94 kB / 383.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.348e-05/0.1109, allocations: 40 kB / 383.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.111, allocations: 79.75 kB / 383.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.1111, allocations: 147.3 kB / 383.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.1116, allocations: 462.2 kB / 384.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1116, allocations: 0 / 384.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1116, allocations: 0 / 384.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.1117, allocations: 0 / 384.2 MB, free: 10.11 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001263/0.1129, allocations: 0.613 MB / 384.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.113, allocations: 11.98 kB / 384.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.113, allocations: 32.75 kB / 384.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.1135, allocations: 238 kB / 385.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.1135, allocations: 25.03 kB / 385.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.1136, allocations: 24.38 kB / 385.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.1143, allocations: 371.4 kB / 385.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1143, allocations: 4 kB / 385.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.1143, allocations: 8 kB / 385.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.1143, allocations: 8 kB / 385.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.115, allocations: 262.5 kB / 385.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.1167, allocations: 0.9333 MB / 386.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.1174, allocations: 206.6 kB / 387 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.1177, allocations: 92.8 kB / 387 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.1178, allocations: 7.938 kB / 387.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005031/0.1183, allocations: 255.8 kB / 387.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.1183, allocations: 0 / 387.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001751/0.12, allocations: 457.6 kB / 387.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.1201, allocations: 128.5 kB / 387.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.1205, allocations: 273.8 kB / 388.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.1205, allocations: 33.7 kB / 388.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.1207, allocations: 204 kB / 388.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.1207, allocations: 55.52 kB / 388.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1209, allocations: 49.7 kB / 388.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.1211, allocations: 334.8 kB / 388.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.1214, allocations: 121.6 kB / 388.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.1218, allocations: 314.6 kB / 389.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006269/0.1225, allocations: 285.8 kB / 389.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1225, allocations: 0 / 389.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001062/0.1235, allocations: 441.2 kB / 389.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/0.1236, allocations: 45.94 kB / 390 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1236, allocations: 4 kB / 390 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.124, allocations: 72.8 kB / 390.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.1242, allocations: 51.84 kB / 390.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.1265, allocations: 1.653 MB / 391.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.1268, allocations: 55.86 kB / 391.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.1268, allocations: 12 kB / 391.8 MB, free: 1.992 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (gain.opAmp.satNeg,gain.opAmp.satPos,vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.127, allocations: 157.7 kB / 392 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.1271, allocations: 23.86 kB / 392 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.1271, allocations: 26.11 kB / 392 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.1271, allocations: 4 kB / 392 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.1271, allocations: 0 / 392 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1271, allocations: 192 / 392 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.1274, allocations: 229.2 kB / 392.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1274, allocations: 3.938 kB / 392.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.1275, allocations: 27.91 kB / 392.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.1278, allocations: 76.78 kB / 392.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1278, allocations: 0 / 392.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.1299, allocations: 1.669 MB / 394 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1299, allocations: 160 / 394 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008554/0.1307, allocations: 321.5 kB / 394.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.1308, allocations: 23.8 kB / 394.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.1308, allocations: 4 kB / 394.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.131, allocations: 36.14 kB / 394.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.1311, allocations: 23.95 kB / 394.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1311, allocations: 15.94 kB / 394.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.1313, allocations: 189.2 kB / 394.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1313, allocations: 0 / 394.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000358/0.1317, allocations: 87.83 kB / 394.7 MB, free: 14.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,gain.opAmp.satPos,gain.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001397/0.1318, allocations: 103.2 kB / 394.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000931/0.1328, allocations: 443.5 kB / 395.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1328, allocations: 0 / 395.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.1332, allocations: 239.1 kB / 395.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1335, allocations: 55.42 kB / 395.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.1355, allocations: 0.589 MB / 396.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.1356, allocations: 151.5 kB / 396.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1357, allocations: 30.27 kB / 396.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.1358, allocations: 24.5 kB / 396.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1358, allocations: 0 / 396.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of Templates: time 0.008961/0.1448, allocations: 4.391 MB / 400.7 MB, free: 8.887 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.6322116169612855]