Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 178.5 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006984/0.0006986, allocations: 83.77 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3166, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002918/0.3197, allocations: 2.191 MB / 378.8 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3209, allocations: 0.6728 MB / 379.5 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.3211, allocations: 4.125 kB / 379.5 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.3212, allocations: 36.06 kB / 379.5 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.3215, allocations: 72.39 kB / 379.6 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.3217, allocations: 75.11 kB / 379.7 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.3221, allocations: 297.6 kB / 380 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.3223, allocations: 77.62 kB / 380 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3225, allocations: 100.3 kB / 380.1 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.3227, allocations: 110.9 kB / 380.2 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.3227, allocations: 13.5 kB / 380.2 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/0.3228, allocations: 13.47 kB / 380.3 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.3228, allocations: 49.12 kB / 380.3 MB, free: 42.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.323, allocations: 146.3 kB / 380.5 MB, free: 42.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.3233, allocations: 271.6 kB / 380.7 MB, free: 42.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.3233, allocations: 1.031 kB / 380.7 MB, free: 42.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3233, allocations: 0 / 380.7 MB, free: 42.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3234, allocations: 0 / 380.7 MB, free: 42.45 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001053/0.3244, allocations: 0.52 MB / 381.2 MB, free: 41.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.754e-05/0.3245, allocations: 9.188 kB / 381.2 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.557e-05/0.3246, allocations: 26.75 kB / 381.3 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.3249, allocations: 252.8 kB / 381.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.325, allocations: 14.44 kB / 381.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.325, allocations: 22.09 kB / 381.6 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.3255, allocations: 234.2 kB / 381.8 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3256, allocations: 0 / 381.8 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.3256, allocations: 11 kB / 381.8 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.3256, allocations: 5.219 kB / 381.8 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.3261, allocations: 194.3 kB / 382 MB, free: 41.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.3276, allocations: 0.9173 MB / 382.9 MB, free: 40.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007183/0.3284, allocations: 225.4 kB / 383.1 MB, free: 40.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.3287, allocations: 127.9 kB / 383.3 MB, free: 40.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.3288, allocations: 6.609 kB / 383.3 MB, free: 40.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.3288, allocations: 32.62 kB / 383.3 MB, free: 40.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.3288, allocations: 0 / 383.3 MB, free: 40.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001983/0.3308, allocations: 0.5966 MB / 383.9 MB, free: 40.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.3308, allocations: 53.34 kB / 383.9 MB, free: 40.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.3311, allocations: 232.6 kB / 384.2 MB, free: 39.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3311, allocations: 30.89 kB / 384.2 MB, free: 39.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.3312, allocations: 164.4 kB / 384.4 MB, free: 39.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.3312, allocations: 53.78 kB / 384.4 MB, free: 39.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.3313, allocations: 4.844 kB / 384.4 MB, free: 39.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.3313, allocations: 331.7 kB / 384.7 MB, free: 39.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.3315, allocations: 64.88 kB / 384.8 MB, free: 39.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.3317, allocations: 126.2 kB / 384.9 MB, free: 39.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.3321, allocations: 185.1 kB / 385.1 MB, free: 39.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3321, allocations: 3.938 kB / 385.1 MB, free: 39.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008982/0.333, allocations: 356.8 kB / 385.5 MB, free: 38.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/0.3331, allocations: 136.8 kB / 385.6 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3331, allocations: 2.594 kB / 385.6 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004264/0.3336, allocations: 89.2 kB / 385.7 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3338, allocations: 39.61 kB / 385.7 MB, free: 38.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.3366, allocations: 1.867 MB / 387.6 MB, free: 37.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.3368, allocations: 27.75 kB / 387.6 MB, free: 37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.3368, allocations: 12.05 kB / 387.6 MB, free: 36.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.3368, allocations: 6.812 kB / 387.6 MB, free: 36.98 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002663/0.3371, allocations: 170.8 kB / 387.8 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3371, allocations: 4 kB / 387.8 MB, free: 36.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.856e-05/0.3372, allocations: 24.78 kB / 387.8 MB, free: 36.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3373, allocations: 43.92 kB / 387.9 MB, free: 36.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006508/0.338, allocations: 1.316 MB / 389.2 MB, free: 35.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3381, allocations: 23.69 kB / 389.2 MB, free: 35.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.3381, allocations: 8.062 kB / 389.2 MB, free: 35.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.3383, allocations: 217 kB / 389.4 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.3383, allocations: 15.81 kB / 389.4 MB, free: 35.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.3384, allocations: 21.52 kB / 389.5 MB, free: 35.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3384, allocations: 4 kB / 389.5 MB, free: 35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3384, allocations: 0 / 389.5 MB, free: 35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3384, allocations: 0 / 389.5 MB, free: 35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009428/0.3394, allocations: 0.6434 MB / 390.1 MB, free: 34.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3394, allocations: 0 / 390.1 MB, free: 34.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.3395, allocations: 23.98 kB / 390.1 MB, free: 34.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.3397, allocations: 84.73 kB / 390.2 MB, free: 34.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3398, allocations: 4 kB / 390.2 MB, free: 34.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.3415, allocations: 1.76 MB / 392 MB, free: 32.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3415, allocations: 0 / 392 MB, free: 32.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007642/0.3423, allocations: 448.9 kB / 392.4 MB, free: 31.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.3424, allocations: 112.7 kB / 392.5 MB, free: 31.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.3424, allocations: 4.094 kB / 392.5 MB, free: 31.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.3426, allocations: 24.05 kB / 392.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.3426, allocations: 15.97 kB / 392.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.577e-06/0.3426, allocations: 4 kB / 392.6 MB, free: 31.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.3427, allocations: 156.6 kB / 392.7 MB, free: 31.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3427, allocations: 0 / 392.7 MB, free: 31.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004705/0.3432, allocations: 119.7 kB / 392.8 MB, free: 31.39 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.3433, allocations: 111.2 kB / 393 MB, free: 31.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009309/0.3443, allocations: 0.5444 MB / 393.5 MB, free: 30.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3443, allocations: 0 / 393.5 MB, free: 30.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.3445, allocations: 218.4 kB / 393.7 MB, free: 30.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.3449, allocations: 41.42 kB / 393.8 MB, free: 30.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.3458, allocations: 0.6131 MB / 394.4 MB, free: 29.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.3459, allocations: 0.744 MB / 395.1 MB, free: 29.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.875e-05/0.3461, allocations: 21.95 kB / 395.1 MB, free: 29.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.3461, allocations: 27.36 kB / 395.2 MB, free: 28.98 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3461, allocations: 0 / 395.2 MB, free: 28.98 MB / 298.7 MB Notification: Performance of Templates: time 0.005326/0.3514, allocations: 2.853 MB / 398 MB, free: 26.14 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R,R1,R2,Vns,Vps,c.C,c.v,f,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.out.i,opAmp.out.v,opAmp.simplifiedExpr,opAmp.strict,opAmp.useSupply,opAmp.v_out,opAmp.vns,opAmp.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time