Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001153, allocations: 115.9 kB / 18.41 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 207.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 58.09 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08265/0.08379, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003634/0.08745, allocations: 2.802 MB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.08845, allocations: 0.6777 MB / 362.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.08857, allocations: 4 kB / 362.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.08872, allocations: 43.52 kB / 362.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.0889, allocations: 95.23 kB / 362.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.08912, allocations: 83.83 kB / 362.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.08949, allocations: 382.5 kB / 363 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.08969, allocations: 122.9 kB / 363.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.08985, allocations: 139.5 kB / 363.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.09004, allocations: 171.2 kB / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.618e-05/0.09011, allocations: 36 kB / 363.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.661e-05/0.09017, allocations: 32 kB / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.09024, allocations: 79.75 kB / 363.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.0904, allocations: 167.2 kB / 363.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.09072, allocations: 374.7 kB / 364.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09073, allocations: 0 / 364.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09074, allocations: 0 / 364.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.09075, allocations: 0 / 364.1 MB, free: 8.172 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001174/0.09193, allocations: 0.6537 MB / 364.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.09198, allocations: 8.031 kB / 364.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.09205, allocations: 36.56 kB / 364.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.09237, allocations: 276.6 kB / 365 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.0924, allocations: 20.94 kB / 365.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.09245, allocations: 28.38 kB / 365.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.09307, allocations: 303.7 kB / 365.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.09309, allocations: 11.81 kB / 365.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.09313, allocations: 8 kB / 365.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.09314, allocations: 4 kB / 365.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.09388, allocations: 253.6 kB / 365.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.09543, allocations: 1.081 MB / 366.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.09617, allocations: 214.6 kB / 367 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.09648, allocations: 100.8 kB / 367.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.09651, allocations: 0 / 367.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.09692, allocations: 169.9 kB / 367.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.09693, allocations: 0 / 367.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001972/0.09891, allocations: 0.5066 MB / 367.7 MB, free: 4.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.09898, allocations: 102.8 kB / 367.8 MB, free: 4.129 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.09926, allocations: 294.5 kB / 368.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.09929, allocations: 33.7 kB / 368.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.09941, allocations: 187.6 kB / 368.3 MB, free: 3.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.09945, allocations: 43.39 kB / 368.4 MB, free: 3.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-05/0.09955, allocations: 53.84 kB / 368.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.09966, allocations: 334.8 kB / 368.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.09999, allocations: 100.2 kB / 368.8 MB, free: 3.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.1004, allocations: 199.8 kB / 369 MB, free: 2.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.101, allocations: 297.4 kB / 369.3 MB, free: 2.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.101, allocations: 3.938 kB / 369.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001157/0.1022, allocations: 426.9 kB / 369.8 MB, free: 2.051 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.1022, allocations: 37.64 kB / 369.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1023, allocations: 7.984 kB / 369.8 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003095/0.1026, allocations: 80.78 kB / 369.9 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.1028, allocations: 43.95 kB / 369.9 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.105, allocations: 1.712 MB / 371.6 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1452/0.2502, allocations: 54.69 kB / 371.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.2503, allocations: 11.8 kB / 371.7 MB, free: 20.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002251/0.2506, allocations: 148.6 kB / 371.8 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.2506, allocations: 22.88 kB / 371.9 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.874e-05/0.2507, allocations: 28.67 kB / 371.9 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.2508, allocations: 5 kB / 371.9 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2508, allocations: 0.625 kB / 371.9 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2508, allocations: 5.828 kB / 371.9 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.2512, allocations: 299.6 kB / 372.2 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.2512, allocations: 1.219 kB / 372.2 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.2514, allocations: 19.86 kB / 372.2 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000374/0.2518, allocations: 70.73 kB / 372.3 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.2518, allocations: 2.578 kB / 372.3 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.2545, allocations: 1.699 MB / 374 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.2545, allocations: 0.5 kB / 374 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.256, allocations: 312.6 kB / 374.3 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.2561, allocations: 114.8 kB / 374.4 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.2562, allocations: 8.172 kB / 374.4 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.2565, allocations: 29.02 kB / 374.4 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.2567, allocations: 25.08 kB / 374.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.2567, allocations: 5.578 kB / 374.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.257, allocations: 201.7 kB / 374.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.257, allocations: 0 / 374.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006208/0.2576, allocations: 81.27 kB / 374.7 MB, free: 18.22 MB / 302.1 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001167/0.2577, allocations: 102.8 kB / 374.8 MB, free: 18.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.259, allocations: 411.4 kB / 375.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.259, allocations: 0 / 375.2 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.2597, allocations: 232.8 kB / 375.5 MB, free: 17.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.2601, allocations: 45.19 kB / 375.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.2614, allocations: 463.5 kB / 376 MB, free: 17.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.2616, allocations: 0.7512 MB / 376.7 MB, free: 16.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.2618, allocations: 29.19 kB / 376.8 MB, free: 16.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.2619, allocations: 24.34 kB / 376.8 MB, free: 16.9 MB / 302.1 MB Notification: Performance of SimCode: time 1.343e-06/0.2619, allocations: 0 / 376.8 MB, free: 16.9 MB / 302.1 MB Notification: Performance of Templates: time 0.01191/0.2738, allocations: 4.193 MB / 381 MB, free: 16.74 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches