Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 78.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 150.9 kB / 24.81 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9793/0.9793, allocations: 173.4 MB / 201.5 MB, free: 8.301 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 268.4 MB, free: 9.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.922e-05, allocations: 2.312 kB / 268.5 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002763/0.002782, allocations: 2.828 MB / 271.3 MB, free: 6.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.00368, allocations: 0.7053 MB / 272 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.003792, allocations: 7.938 kB / 272 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.003916, allocations: 47.56 kB / 272 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.00405, allocations: 100.6 kB / 272.1 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.004266, allocations: 116.5 kB / 272.3 MB, free: 5.914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.004548, allocations: 403 kB / 272.6 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.004697, allocations: 87.61 kB / 272.7 MB, free: 5.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.004924, allocations: 229.6 kB / 273 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.005063, allocations: 139.6 kB / 273.1 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.005104, allocations: 36 kB / 273.1 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-05/0.00514, allocations: 40 kB / 273.2 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.00519, allocations: 75.69 kB / 273.2 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.005272, allocations: 116.8 kB / 273.4 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.005495, allocations: 239.1 kB / 273.6 MB, free: 4.574 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.005499, allocations: 4 kB / 273.6 MB, free: 4.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.005499, allocations: 1.531 kB / 273.6 MB, free: 4.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.005502, allocations: 0 / 273.6 MB, free: 4.57 MB / 250.7 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.0007197/0.006222, allocations: 0.6678 MB / 274.3 MB, free: 3.859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.006255, allocations: 12.03 kB / 274.3 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.006315, allocations: 53.23 kB / 274.3 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.006535, allocations: 225.9 kB / 274.5 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.006558, allocations: 25.38 kB / 274.6 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.006593, allocations: 28.38 kB / 274.6 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.006885, allocations: 263.2 kB / 274.9 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.006893, allocations: 192 / 274.9 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.006911, allocations: 12.38 kB / 274.9 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.006923, allocations: 7.938 kB / 274.9 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.007027, allocations: 79.41 kB / 275 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.007918, allocations: 1.006 MB / 276 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.008121, allocations: 107.1 kB / 276.1 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.00816, allocations: 31.67 kB / 276.1 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.008175, allocations: 8 kB / 276.1 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.008305, allocations: 138 kB / 276.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.008306, allocations: 0 / 276.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001895/0.008496, allocations: 129.7 kB / 276.4 MB, free: 1.598 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.008529, allocations: 77.11 kB / 276.4 MB, free: 1.504 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.008678, allocations: 288.2 kB / 276.7 MB, free: 1.199 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.008695, allocations: 29.7 kB / 276.7 MB, free: 1.164 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.008792, allocations: 258.7 kB / 277 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.008818, allocations: 47.55 kB / 277 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.008881, allocations: 51.34 kB / 277.1 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.009001, allocations: 0.5079 MB / 277.6 MB, free: 288 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.009049, allocations: 49.91 kB / 277.7 MB, free: 228 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.009157, allocations: 199.7 kB / 277.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.009295, allocations: 209.8 kB / 278.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009297, allocations: 0 / 278.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002154/0.009512, allocations: 240.7 kB / 278.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.009539, allocations: 37.69 kB / 278.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.009544, allocations: 352 / 278.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.009559, allocations: 11.94 kB / 278.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.009693, allocations: 55.97 kB / 278.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.009699, allocations: 7.938 kB / 278.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.009807, allocations: 39.77 kB / 278.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.009821, allocations: 15.98 kB / 278.5 MB, free: 15.27 MB / 266.7 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 9.307e-05/0.009914, allocations: 171.3 kB / 278.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.00994, allocations: 31.86 kB / 278.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.009973, allocations: 25.77 kB / 278.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.009975, allocations: 0 / 278.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.009977, allocations: 0 / 278.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.009981, allocations: 4 kB / 278.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.0101, allocations: 177.1 kB / 278.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.0101, allocations: 0 / 278.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.864e-05/0.01019, allocations: 35.91 kB / 278.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.01019, allocations: 0 / 278.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.0102, allocations: 12 kB / 278.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.0102, allocations: 0 / 278.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01021, allocations: 4 kB / 278.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.0104, allocations: 168.1 kB / 279.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.01043, allocations: 23.8 kB / 279.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.01045, allocations: 4 kB / 279.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.01052, allocations: 19.98 kB / 279.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.01056, allocations: 11.97 kB / 279.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.01057, allocations: 4 kB / 279.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.932e-05/0.01064, allocations: 197.1 kB / 279.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01065, allocations: 0 / 279.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.01083, allocations: 75.88 kB / 279.4 MB, free: 14.27 MB / 266.7 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 7.119e-05/0.0109, allocations: 99.23 kB / 279.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.01108, allocations: 192.5 kB / 279.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01108, allocations: 0 / 279.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.01114, allocations: 35.67 kB / 279.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.01132, allocations: 49.14 kB / 279.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000731/0.01205, allocations: 470.9 kB / 280.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.0121, allocations: 76.33 kB / 280.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.7e-05/0.01218, allocations: 30.27 kB / 280.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.01231, allocations: 122.2 kB / 280.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01231, allocations: 4 kB / 280.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of Templates: time 0.005438/0.01775, allocations: 3.344 MB / 283.8 MB, free: 9.859 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.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.6133755701594055]