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.002089/0.002089, allocations: 103.1 kB / 21.93 MB, free: 5.203 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.00166/0.00166, allocations: 202.2 kB / 25.22 MB, free: 3.141 MB / 14.72 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 1.521/1.521, allocations: 207.7 MB / 236.1 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 55.92 kB / 348.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2586, allocations: 49.15 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00371/0.2623, allocations: 2.449 MB / 400.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2635, allocations: 0.6898 MB / 400.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.2636, allocations: 7.688 kB / 400.8 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.2638, allocations: 35.09 kB / 400.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.2639, allocations: 87.08 kB / 400.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.2642, allocations: 91.09 kB / 401 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.2645, allocations: 324 kB / 401.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.2647, allocations: 64.38 kB / 401.4 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.2649, allocations: 133.7 kB / 401.5 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.2651, allocations: 128.4 kB / 401.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.2651, allocations: 27.06 kB / 401.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.153e-05/0.2652, allocations: 31.81 kB / 401.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.2652, allocations: 58.31 kB / 401.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2654, allocations: 112.5 kB / 401.8 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.2657, allocations: 301.6 kB / 402.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2657, allocations: 1.219 kB / 402.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.2657, allocations: 0 / 402.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.2657, allocations: 0.5625 kB / 402.1 MB, free: 6.594 MB / 318.1 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.001137/0.2669, allocations: 0.5599 MB / 402.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2669, allocations: 12.55 kB / 402.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.267, allocations: 31.34 kB / 402.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.2673, allocations: 211.2 kB / 402.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2674, allocations: 15.84 kB / 403 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.2674, allocations: 22.31 kB / 403 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.268, allocations: 258.4 kB / 403.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.268, allocations: 0 / 403.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.268, allocations: 10.88 kB / 403.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.268, allocations: 4.594 kB / 403.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/0.2688, allocations: 242.2 kB / 403.5 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.27, allocations: 0.6849 MB / 404.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/0.2708, allocations: 225.6 kB / 404.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.2711, allocations: 87.25 kB / 404.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.2711, allocations: 2.719 kB / 404.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/0.2715, allocations: 191 kB / 404.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.2715, allocations: 3.938 kB / 404.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009884/0.2725, allocations: 296.8 kB / 405 MB, free: 4.934 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.2726, allocations: 85.34 kB / 405 MB, free: 4.836 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.2728, allocations: 227 kB / 405.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2728, allocations: 30.83 kB / 405.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.2729, allocations: 172.8 kB / 405.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.2729, allocations: 41 kB / 405.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.273, allocations: 44.05 kB / 405.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.039e-05/0.273, allocations: 330.6 kB / 405.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.2733, allocations: 122.7 kB / 406 MB, free: 4.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.2737, allocations: 201.4 kB / 406.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.2742, allocations: 247.3 kB / 406.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2742, allocations: 0 / 406.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007348/0.275, allocations: 339.3 kB / 406.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.275, allocations: 32.27 kB / 406.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.275, allocations: 2.688 kB / 406.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.275, allocations: 2.031 kB / 406.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.2753, allocations: 60 kB / 406.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.2753, allocations: 7.547 kB / 406.9 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.2756, allocations: 46.83 kB / 406.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.2756, allocations: 14.5 kB / 406.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003032/0.2759, allocations: 203.2 kB / 407.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002782/0.2762, allocations: 191.6 kB / 407.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004657/0.2767, allocations: 219.7 kB / 407.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.2767, allocations: 1.375 kB / 407.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006278/0.2773, allocations: 322.2 kB / 407.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.2773, allocations: 41.98 kB / 407.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.2773, allocations: 2.75 kB / 407.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.2773, allocations: 2.75 kB / 407.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.2775, allocations: 46.34 kB / 407.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2775, allocations: 11.67 kB / 407.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.2778, allocations: 37.27 kB / 408 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.2778, allocations: 5.5 kB / 408 MB, free: 2.852 MB / 318.1 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 0.0001011/0.2779, allocations: 199.9 kB / 408.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.2779, allocations: 20.95 kB / 408.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.278, allocations: 21.22 kB / 408.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.278, allocations: 5.312 kB / 408.2 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.278, allocations: 0.75 kB / 408.2 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.278, allocations: 6.078 kB / 408.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.2782, allocations: 194.2 kB / 408.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2782, allocations: 0 / 408.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.2784, allocations: 43.73 kB / 408.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2784, allocations: 1.188 kB / 408.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.2785, allocations: 2.297 kB / 408.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2785, allocations: 1 kB / 408.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2785, allocations: 0 / 408.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009387/0.2794, allocations: 345.2 kB / 408.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.2794, allocations: 21.28 kB / 408.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.2795, allocations: 5.75 kB / 408.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.2797, allocations: 26.91 kB / 408.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.2798, allocations: 16.92 kB / 408.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2798, allocations: 8.984 kB / 408.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.2799, allocations: 171.1 kB / 409 MB, free: 2.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2799, allocations: 1.188 kB / 409 MB, free: 2.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004273/0.2803, allocations: 106.5 kB / 409.2 MB, free: 2.141 MB / 318.1 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.84e-05/0.2804, allocations: 96.48 kB / 409.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.2815, allocations: 475.7 kB / 409.7 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2815, allocations: 4.688 kB / 409.7 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.2818, allocations: 92.52 kB / 409.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.2821, allocations: 39.8 kB / 409.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009745/0.2831, allocations: 0.5013 MB / 410.3 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.2832, allocations: 131.3 kB / 410.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.282e-05/0.2833, allocations: 21.39 kB / 410.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2833, allocations: 0 / 410.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of Templates: time 0.005003/0.2883, allocations: 3.002 MB / 413.5 MB, free: 15.82 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/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: 7.194631069432944]