Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001071/0.001071, allocations: 91.61 kB / 22.18 MB, free: 2.383 MB / 18.57 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.001206/0.001206, allocations: 156.9 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8485/0.8485, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 299.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.26e-05, allocations: 2.281 kB / 299.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002448/0.002471, allocations: 2.443 MB / 302.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008536/0.003324, allocations: 0.6865 MB / 302.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.00343, allocations: 3.938 kB / 302.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.003537, allocations: 35.64 kB / 302.9 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.003669, allocations: 99.25 kB / 303 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.00389, allocations: 83.83 kB / 303.1 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.004163, allocations: 338.5 kB / 303.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.004297, allocations: 64.83 kB / 303.5 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.004487, allocations: 183.5 kB / 303.7 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.004595, allocations: 99.69 kB / 303.8 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.00463, allocations: 28 kB / 303.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.785e-05/0.004657, allocations: 32 kB / 303.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.004699, allocations: 63.75 kB / 303.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.004792, allocations: 91.75 kB / 304 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.005088, allocations: 311 kB / 304.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005091, allocations: 0 / 304.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005092, allocations: 3.938 kB / 304.3 MB, free: 2.312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.005097, allocations: 3.938 kB / 304.3 MB, free: 2.309 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007847/0.005882, allocations: 0.5542 MB / 304.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.005915, allocations: 15.98 kB / 304.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.00597, allocations: 28.8 kB / 304.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.006232, allocations: 216.8 kB / 305.1 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.006247, allocations: 12.75 kB / 305.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.006277, allocations: 24.38 kB / 305.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.006638, allocations: 258.8 kB / 305.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.006647, allocations: 192 / 305.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.006665, allocations: 12.36 kB / 305.4 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.006673, allocations: 11.94 kB / 305.4 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.007053, allocations: 243.5 kB / 305.6 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/0.007851, allocations: 0.6861 MB / 306.3 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.00832, allocations: 222.5 kB / 306.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.008465, allocations: 84.8 kB / 306.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.008483, allocations: 4 kB / 306.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.008728, allocations: 186.6 kB / 306.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.008729, allocations: 0 / 306.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005054/0.009234, allocations: 285.4 kB / 307.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.009276, allocations: 85.09 kB / 307.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.009428, allocations: 235.2 kB / 307.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.009445, allocations: 33.7 kB / 307.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.009526, allocations: 172.1 kB / 307.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.009554, allocations: 43.67 kB / 307.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.009608, allocations: 45.66 kB / 307.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.009688, allocations: 326.8 kB / 308 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.00986, allocations: 126.4 kB / 308.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.01005, allocations: 198.2 kB / 308.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.01035, allocations: 246.2 kB / 308.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01036, allocations: 0 / 308.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003947/0.01075, allocations: 340.7 kB / 308.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.01078, allocations: 33.69 kB / 308.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01078, allocations: 7.938 kB / 308.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.0108, allocations: 4 kB / 308.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.01092, allocations: 47.95 kB / 309 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01093, allocations: 7.938 kB / 309 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.01105, allocations: 39.86 kB / 309 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.01106, allocations: 8.031 kB / 309 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001837/0.01125, allocations: 209.8 kB / 309.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001658/0.01141, allocations: 190.1 kB / 309.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002531/0.01166, allocations: 234.3 kB / 309.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.01167, allocations: 0 / 309.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003392/0.012, allocations: 312.8 kB / 310 MB, free: 12.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.01202, allocations: 41.58 kB / 310 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.01202, allocations: 0 / 310 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.01203, allocations: 4 kB / 310 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01213, allocations: 55.89 kB / 310.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.01213, allocations: 4 kB / 310.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.01224, allocations: 39.92 kB / 310.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.01225, allocations: 8 kB / 310.1 MB, free: 12.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.203e-05/0.01233, allocations: 192.1 kB / 310.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.01235, allocations: 31.8 kB / 310.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.01239, allocations: 25.45 kB / 310.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01239, allocations: 0 / 310.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01239, allocations: 0 / 310.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.0124, allocations: 0 / 310.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.01253, allocations: 185.2 kB / 310.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.01254, allocations: 0 / 310.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.01264, allocations: 51.95 kB / 310.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01264, allocations: 0 / 310.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01265, allocations: 3.938 kB / 310.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.01265, allocations: 0 / 310.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.01266, allocations: 7.984 kB / 310.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.01315, allocations: 345.2 kB / 310.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.01317, allocations: 15.94 kB / 311 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.01319, allocations: 3.938 kB / 311 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.949e-05/0.01328, allocations: 31.95 kB / 311 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.01333, allocations: 15.98 kB / 311 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.01334, allocations: 4.047 kB / 311 MB, free: 11.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.682e-05/0.01344, allocations: 176.2 kB / 311.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01344, allocations: 0 / 311.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.01367, allocations: 103.7 kB / 311.3 MB, free: 10.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * 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 9.591e-05/0.01377, allocations: 103.2 kB / 311.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005465/0.01432, allocations: 477.9 kB / 311.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01432, allocations: 0 / 311.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.01446, allocations: 88.56 kB / 311.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.01466, allocations: 48.58 kB / 312 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.01529, allocations: 468.2 kB / 312.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.356e-05/0.01536, allocations: 142 kB / 312.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.01542, allocations: 20.5 kB / 312.6 MB, free: 9.414 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01542, allocations: 0 / 312.6 MB, free: 9.414 MB / 298.7 MB Notification: Performance of Templates: time 0.003023/0.01844, allocations: 2.985 MB / 315.6 MB, free: 6.422 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.223386603407562]