Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001753/0.001753, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.001639/0.001639, allocations: 168.6 kB / 24.5 MB, free: 3.453 MB / 14.72 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.454/1.454, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] 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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 55.52 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.1001, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004369/0.1045, allocations: 2.749 MB / 381.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.106, allocations: 0.7285 MB / 382.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.1062, allocations: 4 kB / 382.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.1063, allocations: 47.52 kB / 382.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.1066, allocations: 107.2 kB / 382.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1069, allocations: 119.8 kB / 382.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.1074, allocations: 422.3 kB / 383.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.1076, allocations: 87.61 kB / 383.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.1079, allocations: 163.4 kB / 383.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.1081, allocations: 151.2 kB / 383.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.971e-05/0.1082, allocations: 40 kB / 383.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.122e-05/0.1083, allocations: 40 kB / 383.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.424e-05/0.1084, allocations: 83.69 kB / 383.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.1085, allocations: 139.4 kB / 383.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.109, allocations: 458.3 kB / 384.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.109, allocations: 0 / 384.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.109, allocations: 3.984 kB / 384.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.109, allocations: 4 kB / 384.2 MB, free: 10.32 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001252/0.1103, allocations: 0.6053 MB / 384.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.1103, allocations: 8.031 kB / 384.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.1104, allocations: 40.7 kB / 384.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.1108, allocations: 241.8 kB / 385.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.1108, allocations: 20.88 kB / 385.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.1109, allocations: 24.38 kB / 385.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/0.1116, allocations: 382.4 kB / 385.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1117, allocations: 0 / 385.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.1117, allocations: 12 kB / 385.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1117, allocations: 4 kB / 385.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000857/0.1125, allocations: 289.8 kB / 385.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.1144, allocations: 0.9804 MB / 386.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/0.1153, allocations: 234.6 kB / 387.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.1156, allocations: 104.8 kB / 387.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1156, allocations: 8 kB / 387.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005081/0.1161, allocations: 241.1 kB / 387.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.1161, allocations: 0 / 387.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002394/0.1185, allocations: 0.5838 MB / 388 MB, free: 6.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.1186, allocations: 106.8 kB / 388.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.1189, allocations: 273.8 kB / 388.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.119, allocations: 33.7 kB / 388.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1191, allocations: 200 kB / 388.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.1191, allocations: 43.67 kB / 388.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/0.1192, allocations: 49.89 kB / 388.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1194, allocations: 334.8 kB / 389 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.1198, allocations: 138.3 kB / 389.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.1203, allocations: 290.6 kB / 389.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/0.121, allocations: 315.7 kB / 389.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.121, allocations: 4 kB / 389.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001327/0.1224, allocations: 0.4915 MB / 390.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.1224, allocations: 45.62 kB / 390.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1224, allocations: 4 kB / 390.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.1228, allocations: 84.86 kB / 390.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.123, allocations: 47.91 kB / 390.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.1257, allocations: 1.856 MB / 392.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.1261, allocations: 47.98 kB / 392.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.1261, allocations: 19.98 kB / 392.3 MB, free: 1.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (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 (23): * Single equations (assignments): 21 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001638/0.1262, allocations: 149.7 kB / 392.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.1263, allocations: 23.86 kB / 392.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/0.1263, allocations: 25.83 kB / 392.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1263, allocations: 8 kB / 392.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1263, allocations: 0 / 392.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.1264, allocations: 0 / 392.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.1266, allocations: 221.1 kB / 392.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1266, allocations: 0 / 392.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.1268, allocations: 23.97 kB / 392.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.127, allocations: 80.81 kB / 392.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1271, allocations: 11.92 kB / 392.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.1295, allocations: 1.663 MB / 394.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1295, allocations: 4.109 kB / 394.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.1306, allocations: 369.4 kB / 394.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.1307, allocations: 23.86 kB / 394.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.1307, allocations: 7.984 kB / 394.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.1309, allocations: 35.91 kB / 395 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.131, allocations: 19.97 kB / 395 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.131, allocations: 8 kB / 395 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.1312, allocations: 189.2 kB / 395.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1312, allocations: 0 / 395.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.1316, allocations: 83.84 kB / 395.2 MB, free: 14.64 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/0.1318, allocations: 95.25 kB / 395.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1328, allocations: 463.4 kB / 395.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1328, allocations: 0.6875 kB / 395.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.1333, allocations: 238.5 kB / 396 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1336, allocations: 52.33 kB / 396.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.1346, allocations: 488.3 kB / 396.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.1348, allocations: 146.9 kB / 396.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.772e-05/0.1349, allocations: 26.28 kB / 396.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.1349, allocations: 24.5 kB / 396.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1349, allocations: 0 / 396.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Templates: time 0.008476/0.1434, allocations: 4.123 MB / 400.9 MB, free: 8.969 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.402829071041197]