Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009391/0.000939, allocations: 182.5 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.7 MB / 243.2 MB, free: 8.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007612/0.0007612, allocations: 96.94 kB / 294.4 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002386/0.0002386, allocations: 4 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2552, allocations: 50.4 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002443/0.2577, allocations: 2.205 MB / 406.8 MB, free: 29.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.2591, allocations: 0.6269 MB / 407.4 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.2593, allocations: 4.656 kB / 407.4 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.2595, allocations: 39.69 kB / 407.5 MB, free: 28.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.2598, allocations: 68.58 kB / 407.5 MB, free: 28.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.2601, allocations: 73.23 kB / 407.6 MB, free: 28.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.2605, allocations: 295.3 kB / 407.9 MB, free: 28.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.2607, allocations: 80.12 kB / 408 MB, free: 27.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.2609, allocations: 99.52 kB / 408.1 MB, free: 27.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.2611, allocations: 111.5 kB / 408.2 MB, free: 27.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.2612, allocations: 16 kB / 408.2 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.043e-05/0.2612, allocations: 12 kB / 408.2 MB, free: 27.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.2613, allocations: 51.77 kB / 408.2 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.2615, allocations: 141.1 kB / 408.4 MB, free: 27.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.2618, allocations: 268.5 kB / 408.6 MB, free: 27.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2618, allocations: 3.938 kB / 408.6 MB, free: 27.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2618, allocations: 0 / 408.6 MB, free: 27.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.2618, allocations: 0 / 408.6 MB, free: 27.28 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.001013/0.2629, allocations: 0.5264 MB / 409.2 MB, free: 26.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.2629, allocations: 12.03 kB / 409.2 MB, free: 26.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/0.263, allocations: 24.66 kB / 409.2 MB, free: 26.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.2634, allocations: 259.7 kB / 409.5 MB, free: 26.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.2634, allocations: 24.94 kB / 409.5 MB, free: 26.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.2635, allocations: 20.38 kB / 409.5 MB, free: 26.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.2641, allocations: 229.2 kB / 409.7 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2641, allocations: 0 / 409.7 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.2642, allocations: 12 kB / 409.7 MB, free: 26.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2642, allocations: 4 kB / 409.7 MB, free: 26.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/0.2648, allocations: 198.1 kB / 409.9 MB, free: 25.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.2667, allocations: 0.9085 MB / 410.8 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/0.2675, allocations: 218.7 kB / 411.1 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.2679, allocations: 128.7 kB / 411.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.268, allocations: 4 kB / 411.2 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.268, allocations: 34.56 kB / 411.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.268, allocations: 0 / 411.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002404/0.2704, allocations: 0.6005 MB / 411.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.2705, allocations: 55.41 kB / 411.9 MB, free: 23.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.2708, allocations: 223.1 kB / 412.1 MB, free: 23.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.2708, allocations: 33.7 kB / 412.1 MB, free: 23.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.2709, allocations: 171.8 kB / 412.3 MB, free: 23.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.271, allocations: 55.19 kB / 412.4 MB, free: 23.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.271, allocations: 4 kB / 412.4 MB, free: 23.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.2711, allocations: 334.8 kB / 412.7 MB, free: 22.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.2713, allocations: 59.97 kB / 412.7 MB, free: 22.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.2716, allocations: 120.8 kB / 412.9 MB, free: 22.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.272, allocations: 184 kB / 413 MB, free: 22.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2721, allocations: 7.938 kB / 413 MB, free: 22.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001117/0.2732, allocations: 355.4 kB / 413.4 MB, free: 22.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.762e-05/0.2733, allocations: 130.2 kB / 413.5 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2733, allocations: 3.938 kB / 413.5 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.2738, allocations: 84.8 kB / 413.6 MB, free: 21.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.274, allocations: 43.91 kB / 413.7 MB, free: 21.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.2772, allocations: 1.873 MB / 415.5 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.2775, allocations: 31.81 kB / 415.6 MB, free: 19.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.2775, allocations: 4 kB / 415.6 MB, free: 19.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.2775, allocations: 4 kB / 415.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000367/0.2779, allocations: 180.2 kB / 415.7 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.2779, allocations: 0 / 415.7 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.195e-05/0.278, allocations: 28.97 kB / 415.8 MB, free: 19.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.2782, allocations: 43.92 kB / 415.8 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007858/0.279, allocations: 1.304 MB / 417.1 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.2792, allocations: 23.84 kB / 417.1 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.2792, allocations: 12 kB / 417.1 MB, free: 18.17 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.0001542/0.2793, allocations: 212.9 kB / 417.4 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.2794, allocations: 20 kB / 417.4 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.2795, allocations: 29.5 kB / 417.4 MB, free: 17.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2795, allocations: 0 / 417.4 MB, free: 17.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2795, allocations: 0 / 417.4 MB, free: 17.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.2795, allocations: 0 / 417.4 MB, free: 17.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.2808, allocations: 0.6439 MB / 418 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2809, allocations: 0 / 418 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.281, allocations: 23.98 kB / 418.1 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/0.2814, allocations: 80.73 kB / 418.2 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.2814, allocations: 8 kB / 418.2 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/0.2839, allocations: 1.756 MB / 419.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2839, allocations: 3.938 kB / 419.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.285, allocations: 456 kB / 420.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.2851, allocations: 96.8 kB / 420.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.2851, allocations: 4 kB / 420.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.2854, allocations: 24.05 kB / 420.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.2854, allocations: 15.97 kB / 420.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2854, allocations: 4 kB / 420.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.2856, allocations: 164.6 kB / 420.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2856, allocations: 0 / 420.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008244/0.2864, allocations: 115.7 kB / 420.8 MB, free: 14.3 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.0001341/0.2866, allocations: 109.5 kB / 420.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.2879, allocations: 0.5518 MB / 421.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2879, allocations: 0 / 421.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.2883, allocations: 203.2 kB / 421.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.2889, allocations: 48.53 kB / 421.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.2901, allocations: 0.6174 MB / 422.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2903, allocations: 0.7443 MB / 423 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.2905, allocations: 25.94 kB / 423.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.2906, allocations: 15.44 kB / 423.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2906, allocations: 0 / 423.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of Templates: time 0.007862/0.2984, allocations: 2.861 MB / 425.9 MB, free: 9.039 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_4.0.0_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