Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009825/0.0009826, allocations: 193.5 kB / 17.05 MB, free: 5.102 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.6 MB / 244.4 MB, free: 8.293 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007663/0.0007663, allocations: 97.09 kB / 296.4 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.0002331, allocations: 8 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2306, allocations: 51.29 MB / 407.5 MB, free: 27.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002339/0.233, allocations: 2.504 MB / 410 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009535/0.2339, allocations: 0.7263 MB / 410.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.2341, allocations: 4 kB / 410.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.2342, allocations: 35.69 kB / 410.8 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.2344, allocations: 76 kB / 410.9 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.2346, allocations: 76.69 kB / 410.9 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.2349, allocations: 375 kB / 411.3 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.2351, allocations: 93.91 kB / 411.4 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.2352, allocations: 123.5 kB / 411.5 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.2354, allocations: 143.4 kB / 411.6 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.2354, allocations: 20 kB / 411.7 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.2355, allocations: 16 kB / 411.7 MB, free: 23.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.2355, allocations: 59.69 kB / 411.7 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.2356, allocations: 81.58 kB / 411.8 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.2358, allocations: 344 kB / 412.2 MB, free: 23.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2358, allocations: 4 kB / 412.2 MB, free: 23.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2358, allocations: 0 / 412.2 MB, free: 23.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.2358, allocations: 0 / 412.2 MB, free: 23.18 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001078/0.2369, allocations: 0.6457 MB / 412.8 MB, free: 22.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.237, allocations: 12.03 kB / 412.8 MB, free: 22.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.237, allocations: 31.62 kB / 412.8 MB, free: 22.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.2373, allocations: 290.4 kB / 413.1 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.2373, allocations: 24.52 kB / 413.2 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.2374, allocations: 28 kB / 413.2 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.238, allocations: 335.6 kB / 413.5 MB, free: 21.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.238, allocations: 0 / 413.5 MB, free: 21.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.2381, allocations: 15.94 kB / 413.5 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2381, allocations: 8 kB / 413.5 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.2388, allocations: 310 kB / 413.8 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.2404, allocations: 1.185 MB / 415 MB, free: 20.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/0.2411, allocations: 278.6 kB / 415.3 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.2414, allocations: 124.7 kB / 415.4 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.2415, allocations: 0 / 415.4 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004926/0.242, allocations: 193.9 kB / 415.6 MB, free: 19.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.242, allocations: 0 / 415.6 MB, free: 19.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002144/0.2441, allocations: 0.7482 MB / 416.4 MB, free: 18.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.2442, allocations: 102.8 kB / 416.5 MB, free: 18.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.2444, allocations: 286.6 kB / 416.7 MB, free: 18.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2445, allocations: 29.7 kB / 416.8 MB, free: 18.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.2446, allocations: 195.6 kB / 417 MB, free: 18.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.2446, allocations: 43.45 kB / 417 MB, free: 18.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.2446, allocations: 4 kB / 417 MB, free: 18.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.2447, allocations: 338.8 kB / 417.3 MB, free: 17.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.245, allocations: 124.1 kB / 417.5 MB, free: 17.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.2454, allocations: 229.1 kB / 417.7 MB, free: 17.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.2457, allocations: 165.5 kB / 417.8 MB, free: 17.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2457, allocations: 0 / 417.8 MB, free: 17.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001091/0.2468, allocations: 0.5102 MB / 418.3 MB, free: 16.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.2469, allocations: 37.7 kB / 418.4 MB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2469, allocations: 4 kB / 418.4 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.2472, allocations: 88.86 kB / 418.5 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.2474, allocations: 55.91 kB / 418.5 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.2496, allocations: 1.9 MB / 420.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.25, allocations: 67.77 kB / 420.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.25, allocations: 12 kB / 420.5 MB, free: 14.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001301/0.2501, allocations: 154 kB / 420.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.2502, allocations: 23.72 kB / 420.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.2502, allocations: 33.77 kB / 420.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2502, allocations: 0 / 420.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2502, allocations: 3.953 kB / 420.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2502, allocations: 0 / 420.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.2505, allocations: 329.3 kB / 421 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2505, allocations: 4.125 kB / 421 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.2506, allocations: 27.97 kB / 421.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/0.2509, allocations: 92.8 kB / 421.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2509, allocations: 0 / 421.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.2527, allocations: 1.815 MB / 423 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2527, allocations: 0 / 423 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/0.2536, allocations: 409.4 kB / 423.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.2537, allocations: 104.8 kB / 423.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.2538, allocations: 4 kB / 423.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.254, allocations: 43.95 kB / 423.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.2541, allocations: 23.91 kB / 423.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.2541, allocations: 4 kB / 423.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.2542, allocations: 202 kB / 423.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2543, allocations: 0 / 423.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003537/0.2546, allocations: 79.84 kB / 423.8 MB, free: 10.76 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001323/0.2547, allocations: 103.3 kB / 423.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.2559, allocations: 0.5258 MB / 424.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2559, allocations: 0 / 424.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.2563, allocations: 262.5 kB / 424.7 MB, free: 9.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.2567, allocations: 50.67 kB / 424.8 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.2593, allocations: 1.113 MB / 425.9 MB, free: 8.633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.2595, allocations: 0.756 MB / 426.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.2595, allocations: 27.44 kB / 426.7 MB, free: 7.824 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2596, allocations: 0 / 426.7 MB, free: 7.824 MB / 298.7 MB Notification: Performance of Templates: time 0.005178/0.2647, allocations: 4.747 MB / 431.4 MB, free: 3.105 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches