Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.0007886/0.0007886, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00318/0.00318, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8482/0.8482, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.088e-05, allocations: 3.266 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002558/0.002579, allocations: 2.715 MB / 328.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.003657, allocations: 0.705 MB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.00377, allocations: 7.938 kB / 329.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.003894, allocations: 43.52 kB / 329.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.00403, allocations: 111.1 kB / 329.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.004253, allocations: 99.77 kB / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.004545, allocations: 402.1 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.004701, allocations: 83.67 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.004967, allocations: 231.4 kB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.005098, allocations: 123.6 kB / 330.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.005135, allocations: 40 kB / 330.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.482e-05/0.00517, allocations: 36 kB / 330.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.005216, allocations: 79.67 kB / 330.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.928e-05/0.005306, allocations: 123.7 kB / 330.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.00561, allocations: 442.6 kB / 331 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005613, allocations: 4 kB / 331 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005613, allocations: 0 / 331 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.005619, allocations: 0 / 331 MB, free: 10.11 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.000747/0.006366, allocations: 0.578 MB / 331.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.006398, allocations: 11.98 kB / 331.6 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.006454, allocations: 36.75 kB / 331.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.006721, allocations: 244.9 kB / 331.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.006737, allocations: 16.88 kB / 331.9 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.006775, allocations: 28.38 kB / 331.9 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.007141, allocations: 320 kB / 332.2 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.007151, allocations: 12.12 kB / 332.3 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.007176, allocations: 12.36 kB / 332.3 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.007186, allocations: 15.94 kB / 332.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.007532, allocations: 245.8 kB / 332.5 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009631/0.008495, allocations: 0.8898 MB / 333.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.008882, allocations: 202.6 kB / 333.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.009013, allocations: 92.8 kB / 333.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.00903, allocations: 0 / 333.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.009307, allocations: 228.2 kB / 333.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 8.72e-07/0.009307, allocations: 0 / 333.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004654/0.009773, allocations: 285.3 kB / 334.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.009821, allocations: 106.8 kB / 334.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.009993, allocations: 257.8 kB / 334.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.01001, allocations: 37.69 kB / 334.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.0101, allocations: 200 kB / 334.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.01014, allocations: 51.59 kB / 334.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.01021, allocations: 49.88 kB / 334.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.0103, allocations: 334.8 kB / 335.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.01046, allocations: 117.9 kB / 335.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.01065, allocations: 260.7 kB / 335.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.01096, allocations: 274.9 kB / 335.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01096, allocations: 0 / 335.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000663/0.01162, allocations: 379.7 kB / 336.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.01165, allocations: 29.7 kB / 336.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.01166, allocations: 4 kB / 336.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.01167, allocations: 7.984 kB / 336.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.0118, allocations: 64.22 kB / 336.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01181, allocations: 7.984 kB / 336.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.01194, allocations: 47.75 kB / 336.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01195, allocations: 8 kB / 336.4 MB, free: 4.352 MB / 298.7 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 (der_.opAmp.satNeg,der_.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 (28): * Single equations (assignments): 27 * 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.703e-05/0.01205, allocations: 149.7 kB / 336.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.01207, allocations: 27.84 kB / 336.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.01212, allocations: 25.77 kB / 336.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01212, allocations: 8 kB / 336.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01212, allocations: 0 / 336.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01213, allocations: 7.875 kB / 336.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.01227, allocations: 221.1 kB / 336.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01228, allocations: 0 / 336.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.982e-05/0.01238, allocations: 35.97 kB / 336.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01238, allocations: 0 / 336.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01239, allocations: 11.98 kB / 336.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01239, allocations: 3.984 kB / 336.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01239, allocations: 0 / 336.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.01286, allocations: 351.4 kB / 337.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.01289, allocations: 23.89 kB / 337.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.01291, allocations: 7.984 kB / 337.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.01301, allocations: 28.03 kB / 337.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.01307, allocations: 19.97 kB / 337.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.01308, allocations: 8 kB / 337.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.01319, allocations: 181.2 kB / 337.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01319, allocations: 0 / 337.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.01338, allocations: 67.84 kB / 337.5 MB, free: 3.145 MB / 298.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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.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 (15): * Single equations (assignments): 13 * 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 8.632e-05/0.01346, allocations: 103.2 kB / 337.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.01384, allocations: 296.1 kB / 337.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01384, allocations: 0 / 337.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.01397, allocations: 91.88 kB / 338 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.01418, allocations: 48.98 kB / 338.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000863/0.01505, allocations: 0.5749 MB / 338.6 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.067e-05/0.01513, allocations: 142.9 kB / 338.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.01519, allocations: 24.5 kB / 338.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01519, allocations: 0 / 338.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of Templates: time 0.003481/0.01867, allocations: 3.556 MB / 342.4 MB, free: 14.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.103182437829673]