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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002777/0.002777, allocations: 198.7 kB / 22.76 MB, free: 5.477 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] 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 0.001528/0.001528, allocations: 55.92 kB / 369.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2421, allocations: 52.13 MB / 421.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004253/0.2463, allocations: 2.872 MB / 424.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2476, allocations: 0.7245 MB / 424.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.2477, allocations: 4 kB / 424.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.2479, allocations: 51.5 kB / 425 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.2482, allocations: 103.2 kB / 425.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.2485, allocations: 111.8 kB / 425.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000445/0.249, allocations: 390.5 kB / 425.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.2492, allocations: 95.2 kB / 425.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.2494, allocations: 147.4 kB / 425.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.2496, allocations: 171.2 kB / 426 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.2497, allocations: 36 kB / 426 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.2498, allocations: 40 kB / 426 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.2499, allocations: 79.77 kB / 426.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.25, allocations: 163.1 kB / 426.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.2505, allocations: 435.6 kB / 426.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2505, allocations: 0 / 426.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2505, allocations: 0 / 426.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.2505, allocations: 0 / 426.7 MB, free: 9.785 MB / 334.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.001384/0.2519, allocations: 0.6612 MB / 427.4 MB, free: 9.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2519, allocations: 11.89 kB / 427.4 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.663e-05/0.252, allocations: 36.7 kB / 427.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.2524, allocations: 288.9 kB / 427.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.2525, allocations: 20.88 kB / 427.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.2525, allocations: 28.38 kB / 427.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.2532, allocations: 316 kB / 428.1 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2532, allocations: 0 / 428.1 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.2533, allocations: 12 kB / 428.1 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.2533, allocations: 7.938 kB / 428.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007928/0.2541, allocations: 278 kB / 428.3 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.2559, allocations: 1.119 MB / 429.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008602/0.2568, allocations: 238.5 kB / 429.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.2571, allocations: 92.78 kB / 429.8 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.2571, allocations: 4 kB / 429.8 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004446/0.2576, allocations: 172.9 kB / 430 MB, free: 6.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.2576, allocations: 0 / 430 MB, free: 6.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001036/0.2586, allocations: 313.3 kB / 430.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.2587, allocations: 81.11 kB / 430.3 MB, free: 5.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.259, allocations: 274.5 kB / 430.6 MB, free: 5.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.259, allocations: 25.7 kB / 430.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.2592, allocations: 203.9 kB / 430.8 MB, free: 5.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.2592, allocations: 35.69 kB / 430.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.2593, allocations: 49.66 kB / 430.9 MB, free: 5.312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2595, allocations: 338.8 kB / 431.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.2598, allocations: 104.1 kB / 431.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.2602, allocations: 196.9 kB / 431.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.261, allocations: 295.8 kB / 431.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.261, allocations: 4 kB / 431.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008868/0.2618, allocations: 366.3 kB / 432.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.2619, allocations: 33.7 kB / 432.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2619, allocations: 0 / 432.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2619, allocations: 4.344 kB / 432.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.2622, allocations: 71.88 kB / 432.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2622, allocations: 7.938 kB / 432.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.2625, allocations: 51.73 kB / 432.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.2625, allocations: 15.98 kB / 432.4 MB, free: 3.746 MB / 334.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.0001649/0.2627, allocations: 149.7 kB / 432.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.2627, allocations: 23.86 kB / 432.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.2628, allocations: 25.7 kB / 432.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2628, allocations: 4 kB / 432.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2628, allocations: 0 / 432.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2628, allocations: 3.938 kB / 432.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.2631, allocations: 313.4 kB / 432.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2631, allocations: 0 / 432.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.2634, allocations: 47.95 kB / 432.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2634, allocations: 4 kB / 432.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2634, allocations: 0 / 432.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2634, allocations: 0 / 432.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.2634, allocations: 3.984 kB / 432.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2645, allocations: 372.6 kB / 433.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.039e-05/0.2646, allocations: 101 kB / 433.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.2646, allocations: 12 kB / 433.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.2648, allocations: 28.03 kB / 433.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.2649, allocations: 19.97 kB / 433.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2649, allocations: 3.938 kB / 433.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.2651, allocations: 190 kB / 433.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2651, allocations: 0 / 433.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.2654, allocations: 67.83 kB / 433.7 MB, free: 2.305 MB / 334.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.0001529/0.2656, allocations: 111.2 kB / 433.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008154/0.2664, allocations: 283.6 kB / 434.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2664, allocations: 8.188 kB / 434.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.2667, allocations: 88.47 kB / 434.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.2671, allocations: 44.19 kB / 434.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2684, allocations: 0.5692 MB / 434.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.2689, allocations: 0.7518 MB / 435.6 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.396e-05/0.269, allocations: 19.44 kB / 435.6 MB, free: 376 kB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.269, allocations: 0 / 435.6 MB, free: 376 kB / 334.1 MB Notification: Performance of Templates: time 0.00618/0.2751, allocations: 3.362 MB / 438.9 MB, free: 13.02 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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