Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 198.7 kB / 17.38 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.5 MB / 244.7 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000726/0.000726, allocations: 96.12 kB / 296.8 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002237/0.0002238, allocations: 8 kB / 356.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2043, allocations: 51.3 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.001796/0.2062, allocations: 2.202 MB / 410.3 MB, free: 25.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008248/0.207, allocations: 0.6585 MB / 410.9 MB, free: 24.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.2071, allocations: 4.5 kB / 410.9 MB, free: 24.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.2073, allocations: 32.45 kB / 411 MB, free: 24.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.2075, allocations: 69.95 kB / 411 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.2076, allocations: 67.91 kB / 411.1 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.2078, allocations: 278.7 kB / 411.4 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.208, allocations: 83.03 kB / 411.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.2081, allocations: 95.58 kB / 411.5 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.2082, allocations: 112.2 kB / 411.6 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.2083, allocations: 12.78 kB / 411.7 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.344e-05/0.2083, allocations: 16 kB / 411.7 MB, free: 24.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.2084, allocations: 44.84 kB / 411.7 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.2085, allocations: 141.1 kB / 411.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.2086, allocations: 208.3 kB / 412.1 MB, free: 23.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2086, allocations: 4 kB / 412.1 MB, free: 23.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2086, allocations: 0 / 412.1 MB, free: 23.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2086, allocations: 0 / 412.1 MB, free: 23.66 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.0006938/0.2093, allocations: 0.5226 MB / 412.6 MB, free: 23.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2094, allocations: 12.03 kB / 412.6 MB, free: 23.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.2094, allocations: 24.66 kB / 412.6 MB, free: 23.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.2097, allocations: 255.8 kB / 412.9 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2097, allocations: 12.94 kB / 412.9 MB, free: 22.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.2097, allocations: 20.38 kB / 412.9 MB, free: 22.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.2101, allocations: 241.1 kB / 413.1 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.2101, allocations: 0 / 413.1 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.2101, allocations: 8 kB / 413.1 MB, free: 22.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.2102, allocations: 8 kB / 413.2 MB, free: 22.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.2105, allocations: 186.2 kB / 413.3 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.2117, allocations: 0.9124 MB / 414.3 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.2122, allocations: 226.6 kB / 414.5 MB, free: 21.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.2125, allocations: 128.7 kB / 414.6 MB, free: 20.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.2125, allocations: 0 / 414.6 MB, free: 20.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.2126, allocations: 38.55 kB / 414.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 9.61e-07/0.2126, allocations: 0 / 414.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001523/0.2141, allocations: 0.6005 MB / 415.2 MB, free: 20.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.2141, allocations: 55.34 kB / 415.3 MB, free: 20.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.2143, allocations: 231 kB / 415.5 MB, free: 19.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2143, allocations: 29.7 kB / 415.5 MB, free: 19.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.2144, allocations: 167.8 kB / 415.7 MB, free: 19.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.2144, allocations: 55.2 kB / 415.8 MB, free: 19.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.2144, allocations: 7.938 kB / 415.8 MB, free: 19.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.448e-05/0.2145, allocations: 330.8 kB / 416.1 MB, free: 19.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2146, allocations: 63.97 kB / 416.2 MB, free: 19.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.2148, allocations: 117.9 kB / 416.3 MB, free: 19.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.2151, allocations: 192.1 kB / 416.5 MB, free: 18.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2151, allocations: 0 / 416.5 MB, free: 18.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007039/0.2158, allocations: 353.4 kB / 416.8 MB, free: 18.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/0.2159, allocations: 138.1 kB / 416.9 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2159, allocations: 3.984 kB / 416.9 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003132/0.2162, allocations: 76.81 kB / 417 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.2164, allocations: 43.97 kB / 417.1 MB, free: 18.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.2184, allocations: 1.877 MB / 418.9 MB, free: 16.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.2186, allocations: 23.75 kB / 419 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.2186, allocations: 8 kB / 419 MB, free: 16.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.6e-06/0.2186, allocations: 4.062 kB / 419 MB, free: 16.28 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002349/0.2189, allocations: 176.6 kB / 419.1 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.2189, allocations: 4 kB / 419.1 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-05/0.2189, allocations: 28.78 kB / 419.2 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.2191, allocations: 35.98 kB / 419.2 MB, free: 16.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005381/0.2196, allocations: 1.312 MB / 420.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.773e-05/0.2197, allocations: 19.78 kB / 420.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/0.2198, allocations: 8 kB / 420.6 MB, free: 14.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.2199, allocations: 213.1 kB / 420.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.2199, allocations: 15.81 kB / 420.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.22, allocations: 29.52 kB / 420.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.22, allocations: 0 / 420.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.22, allocations: 0 / 420.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.22, allocations: 0 / 420.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000915/0.2209, allocations: 0.6404 MB / 421.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2209, allocations: 0 / 421.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.221, allocations: 31.92 kB / 421.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/0.2213, allocations: 88.67 kB / 421.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.2213, allocations: 4 kB / 421.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.2229, allocations: 1.757 MB / 423.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2229, allocations: 0 / 423.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.2236, allocations: 452.8 kB / 423.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.2237, allocations: 100.8 kB / 423.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.2237, allocations: 0 / 423.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2239, allocations: 32.12 kB / 423.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.2239, allocations: 11.97 kB / 423.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2239, allocations: 8 kB / 423.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.987e-05/0.224, allocations: 160.6 kB / 424.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.224, allocations: 3.938 kB / 424.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004854/0.2245, allocations: 111.7 kB / 424.2 MB, free: 10.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001028/0.2246, allocations: 103.2 kB / 424.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008663/0.2255, allocations: 0.5515 MB / 424.8 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2255, allocations: 4.125 kB / 424.8 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.2257, allocations: 202.6 kB / 425 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.2261, allocations: 36.59 kB / 425.1 MB, free: 9.754 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.2269, allocations: 0.6262 MB / 425.7 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.227, allocations: 0.744 MB / 426.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.2271, allocations: 19.44 kB / 426.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2271, allocations: 0 / 426.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of Templates: time 0.003894/0.231, allocations: 3.485 MB / 429.9 MB, free: 4.832 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches