Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001795/0.001795, allocations: 84.23 kB / 20.68 MB, free: 1.023 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.002361/0.002361, allocations: 163.9 kB / 23.96 MB, free: 4.145 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.565/1.565, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.928e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00412/0.00415, allocations: 2.72 MB / 327.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.005625, allocations: 0.7233 MB / 328.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.005787, allocations: 7.594 kB / 328.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.005952, allocations: 46.06 kB / 328.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.006203, allocations: 107.9 kB / 328.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.006554, allocations: 117.8 kB / 328.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005094/0.007063, allocations: 403.7 kB / 329.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.007285, allocations: 81.36 kB / 329.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/0.007691, allocations: 230.6 kB / 329.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.007913, allocations: 130.1 kB / 329.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.007971, allocations: 37.97 kB / 329.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.564e-05/0.008037, allocations: 38.41 kB / 329.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/0.008121, allocations: 70.8 kB / 329.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.00828, allocations: 118.7 kB / 329.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.008821, allocations: 438.3 kB / 330.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.008826, allocations: 5.094 kB / 330.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008827, allocations: 0 / 330.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.008837, allocations: 0 / 330.3 MB, free: 13.28 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001443/0.01028, allocations: 0.588 MB / 330.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.01032, allocations: 9.219 kB / 330.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.643e-05/0.01041, allocations: 37.69 kB / 331 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.01084, allocations: 237 kB / 331.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.01087, allocations: 19.69 kB / 331.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.01092, allocations: 19.47 kB / 331.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008106/0.01173, allocations: 344.4 kB / 331.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.01175, allocations: 4.125 kB / 331.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.01178, allocations: 10.66 kB / 331.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.0118, allocations: 10.72 kB / 331.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008683/0.01266, allocations: 278.9 kB / 331.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.01462, allocations: 0.9403 MB / 332.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009671/0.01559, allocations: 247 kB / 333.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.01594, allocations: 94.47 kB / 333.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.01596, allocations: 6.672 kB / 333.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005073/0.01647, allocations: 193.9 kB / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.01647, allocations: 0 / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001174/0.01764, allocations: 319.2 kB / 333.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.01773, allocations: 79.64 kB / 333.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.01804, allocations: 258.6 kB / 334 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.01807, allocations: 31.89 kB / 334 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.01824, allocations: 200.9 kB / 334.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.01828, allocations: 45.34 kB / 334.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.913e-05/0.01838, allocations: 51.44 kB / 334.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.01855, allocations: 327.5 kB / 334.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.01897, allocations: 134.3 kB / 334.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.01945, allocations: 242.7 kB / 335 MB, free: 9.656 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008063/0.02026, allocations: 309.4 kB / 335.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02026, allocations: 0.9688 kB / 335.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009886/0.02125, allocations: 391.7 kB / 335.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.02129, allocations: 36.55 kB / 335.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.0213, allocations: 6.875 kB / 335.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.02132, allocations: 4.5 kB / 335.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.02164, allocations: 63.52 kB / 335.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.02165, allocations: 7.266 kB / 335.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.02198, allocations: 56.25 kB / 335.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.02201, allocations: 12.16 kB / 335.9 MB, free: 9.09 MB / 302.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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.02218, allocations: 148.8 kB / 336 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.02223, allocations: 30.02 kB / 336 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.02229, allocations: 23.81 kB / 336.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.02229, allocations: 1.406 kB / 336.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.0223, allocations: 0 / 336.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.0223, allocations: 3.984 kB / 336.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.02256, allocations: 212.3 kB / 336.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.02256, allocations: 0 / 336.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.02283, allocations: 54.77 kB / 336.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.02284, allocations: 1.094 kB / 336.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.02285, allocations: 1.031 kB / 336.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.02285, allocations: 1.156 kB / 336.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02286, allocations: 0 / 336.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.02403, allocations: 370.9 kB / 336.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.02409, allocations: 24.91 kB / 336.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.02413, allocations: 5.25 kB / 336.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.02438, allocations: 33.69 kB / 336.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.02446, allocations: 17.56 kB / 336.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.02448, allocations: 3.344 kB / 336.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.02469, allocations: 182.2 kB / 337 MB, free: 8.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02469, allocations: 0 / 337 MB, free: 8.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003477/0.02504, allocations: 75.05 kB / 337 MB, free: 8.285 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001398/0.02518, allocations: 102.6 kB / 337.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009734/0.02615, allocations: 312.8 kB / 337.4 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02615, allocations: 1.094 kB / 337.4 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.02652, allocations: 103.5 kB / 337.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.02686, allocations: 42.83 kB / 337.6 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.02813, allocations: 495.3 kB / 338.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.02827, allocations: 141 kB / 338.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.02838, allocations: 23.45 kB / 338.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.439e-05/0.02847, allocations: 28.92 kB / 338.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02847, allocations: 0 / 338.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of Templates: time 0.007521/0.03599, allocations: 3.121 MB / 341.4 MB, free: 4.414 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.5218553356826305]