Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001687/0.001687, allocations: 71.75 kB / 21.24 MB, free: 0.5391 MB / 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.002092/0.002092, allocations: 157.8 kB / 24.5 MB, free: 3.707 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.444/1.444, allocations: 177.2 MB / 204.9 MB, free: 8.969 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 52.52 kB / 325.6 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.114, allocations: 53.34 MB / 378.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004229/0.1183, allocations: 2.636 MB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1196, allocations: 0.635 MB / 382.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1197, allocations: 7.938 kB / 382.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.1198, allocations: 47.56 kB / 382.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.12, allocations: 95.19 kB / 382.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1203, allocations: 95.77 kB / 382.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.1207, allocations: 374.5 kB / 382.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1209, allocations: 91.25 kB / 382.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.1211, allocations: 143.5 kB / 383 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.1213, allocations: 143.3 kB / 383.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.1213, allocations: 36 kB / 383.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.168e-05/0.1214, allocations: 36 kB / 383.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.579e-05/0.1215, allocations: 67.77 kB / 383.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1216, allocations: 143.4 kB / 383.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.1221, allocations: 378.5 kB / 383.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1221, allocations: 4 kB / 383.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1221, allocations: 0 / 383.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1221, allocations: 0 / 383.8 MB, free: 10.67 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001279/0.1234, allocations: 0.5897 MB / 384.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1234, allocations: 8.031 kB / 384.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.036e-05/0.1235, allocations: 36.7 kB / 384.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.1239, allocations: 218.9 kB / 384.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1239, allocations: 20.88 kB / 384.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.1239, allocations: 24.38 kB / 384.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.1247, allocations: 358.4 kB / 385.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1247, allocations: 0 / 385.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.1247, allocations: 7.984 kB / 385.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-06/0.1247, allocations: 8 kB / 385.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008255/0.1255, allocations: 261.7 kB / 385.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.1272, allocations: 0.9281 MB / 386.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000826/0.128, allocations: 202.5 kB / 386.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.1284, allocations: 88.78 kB / 386.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1284, allocations: 7.984 kB / 386.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004932/0.1289, allocations: 217.3 kB / 386.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1289, allocations: 0 / 386.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002142/0.131, allocations: 445.8 kB / 387.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/0.1311, allocations: 106.8 kB / 387.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.1314, allocations: 265.8 kB / 387.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.1314, allocations: 29.7 kB / 387.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.1316, allocations: 207.9 kB / 387.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.1316, allocations: 39.69 kB / 387.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.1317, allocations: 53.89 kB / 387.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1319, allocations: 334.8 kB / 388.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.1323, allocations: 121.9 kB / 388.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.1328, allocations: 284.1 kB / 388.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007313/0.1335, allocations: 309 kB / 388.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.1335, allocations: 4 kB / 388.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00131/0.1348, allocations: 453.5 kB / 389.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.1349, allocations: 44.5 kB / 389.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1349, allocations: 0 / 389.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.1352, allocations: 72.75 kB / 389.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.1354, allocations: 59.92 kB / 389.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.1379, allocations: 1.57 MB / 391.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.1383, allocations: 55.73 kB / 391.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.1383, allocations: 12 kB / 391.2 MB, free: 2.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.1384, allocations: 141.7 kB / 391.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1385, allocations: 23.86 kB / 391.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.1385, allocations: 33.77 kB / 391.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1385, allocations: 3.938 kB / 391.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.1385, allocations: 0 / 391.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1385, allocations: 0 / 391.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1388, allocations: 205.2 kB / 391.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1388, allocations: 3.938 kB / 391.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.1389, allocations: 19.97 kB / 391.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.1392, allocations: 72.8 kB / 391.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1392, allocations: 4 kB / 391.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/0.1415, allocations: 1.57 MB / 393.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1415, allocations: 0 / 393.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.1425, allocations: 313.5 kB / 393.5 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.1426, allocations: 35.83 kB / 393.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1427, allocations: 0 / 393.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.1429, allocations: 35.95 kB / 393.6 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.143, allocations: 15.97 kB / 393.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.143, allocations: 4 kB / 393.6 MB, free: 160 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.1432, allocations: 193.2 kB / 393.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1432, allocations: 0 / 393.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000351/0.1436, allocations: 87.78 kB / 393.9 MB, free: 15.88 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 (7): * Single equations (assignments): 4 * 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.0001207/0.1437, allocations: 102.4 kB / 394 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1447, allocations: 427.6 kB / 394.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1447, allocations: 0 / 394.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004808/0.1452, allocations: 223.2 kB / 394.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1455, allocations: 41.12 kB / 394.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1465, allocations: 472.2 kB / 395.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.1467, allocations: 142.9 kB / 395.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.219e-05/0.1467, allocations: 26.27 kB / 395.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.1468, allocations: 20.5 kB / 395.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1468, allocations: 4 kB / 395.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Templates: time 0.008497/0.1553, allocations: 4.061 MB / 399.4 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.375863519962877]