Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002036/0.002036, allocations: 185.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 100.3 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004019, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.336, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4651, allocations: 79.14 MB / 453.7 MB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.4655, allocations: 75.95 kB / 453.8 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02656/0.492, allocations: 5.69 MB / 459.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4921, allocations: 0 / 459.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.4921, allocations: 11.98 kB / 459.5 MB, free: 11.85 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001578/0.4937, allocations: 0.595 MB / 460.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4938, allocations: 8.031 kB / 460.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.4939, allocations: 31.62 kB / 460.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.4944, allocations: 267.3 kB / 460.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.4944, allocations: 24.33 kB / 460.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.4945, allocations: 20 kB / 460.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009904/0.4955, allocations: 255.2 kB / 460.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4955, allocations: 0 / 460.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.4956, allocations: 16 kB / 460.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4956, allocations: 4 kB / 460.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.497, allocations: 289.5 kB / 461 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.4995, allocations: 0.9362 MB / 461.9 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.501, allocations: 270.5 kB / 462.2 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.501, allocations: 4 kB / 462.2 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007407/0.5018, allocations: 190.1 kB / 462.3 MB, free: 8.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.745e-06/0.5018, allocations: 4 kB / 462.3 MB, free: 8.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.003305/0.5051, allocations: 0.6571 MB / 463 MB, free: 8.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.5052, allocations: 106.8 kB / 463.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.5056, allocations: 228.1 kB / 463.3 MB, free: 7.719 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.5057, allocations: 25.7 kB / 463.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.5058, allocations: 230.3 kB / 463.6 MB, free: 7.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.5059, allocations: 43.45 kB / 463.6 MB, free: 7.418 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.5059, allocations: 8 kB / 463.6 MB, free: 7.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5061, allocations: 322.8 kB / 463.9 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005547/0.5066, allocations: 107.9 kB / 464.1 MB, free: 6.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/0.5073, allocations: 170 kB / 464.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/0.5079, allocations: 142.5 kB / 464.4 MB, free: 6.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5079, allocations: 0 / 464.4 MB, free: 6.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001783/0.5097, allocations: 425.6 kB / 464.8 MB, free: 6.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002822/0.51, allocations: 0.6412 MB / 465.4 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.51, allocations: 4 kB / 465.4 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004823/0.5105, allocations: 76.81 kB / 465.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.5109, allocations: 43.91 kB / 465.5 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000817/0.5117, allocations: 0.6187 MB / 466.2 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.5123, allocations: 51.88 kB / 466.2 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.5123, allocations: 15.94 kB / 466.2 MB, free: 4.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5124, allocations: 4 kB / 466.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001277/0.5136, allocations: 323.9 kB / 466.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5137, allocations: 3.938 kB / 466.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.5138, allocations: 36.84 kB / 466.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.5142, allocations: 47.91 kB / 466.6 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.516, allocations: 1.545 MB / 468.2 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.5165, allocations: 47.91 kB / 468.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.5165, allocations: 8 kB / 468.2 MB, free: 2.535 MB / 346.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: 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 (18): * Single equations (assignments): 16 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003035/0.5168, allocations: 216.8 kB / 468.4 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/0.5169, allocations: 27.67 kB / 468.5 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.105e-05/0.517, allocations: 25.81 kB / 468.5 MB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.517, allocations: 4 kB / 468.5 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5171, allocations: 4 kB / 468.5 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5171, allocations: 384 / 468.5 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.5175, allocations: 289.5 kB / 468.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.5175, allocations: 8 kB / 468.8 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.5178, allocations: 27.92 kB / 468.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004024/0.5182, allocations: 77.89 kB / 468.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.5182, allocations: 3.953 kB / 468.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003059/0.5213, allocations: 1.663 MB / 470.6 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5213, allocations: 4.031 kB / 470.6 MB, free: 0 / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.5231, allocations: 373.5 kB / 470.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.5232, allocations: 92.92 kB / 471 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.5233, allocations: 4 kB / 471 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.5238, allocations: 44.33 kB / 471.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5239, allocations: 19.97 kB / 471.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.5239, allocations: 4 kB / 471.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002934/0.5242, allocations: 184.5 kB / 471.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5242, allocations: 0 / 471.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000752/0.525, allocations: 119.7 kB / 471.4 MB, free: 15.13 MB / 362.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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001961/0.5252, allocations: 111.2 kB / 471.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.5275, allocations: 0.6281 MB / 472.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.5275, allocations: 0 / 472.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007833/0.5283, allocations: 254.9 kB / 472.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.5288, allocations: 40.5 kB / 472.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.5303, allocations: 0.5467 MB / 473 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.5306, allocations: 0.7524 MB / 473.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.5308, allocations: 15.44 kB / 473.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5308, allocations: 4 kB / 473.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of Templates: time 0.009329/0.5401, allocations: 3.964 MB / 477.7 MB, free: 8.723 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches