Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 187 kB / 17.92 MB, free: 3.855 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.224/1.224, allocations: 205.1 MB / 223.7 MB, free: 8.473 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.0009549/0.000955, allocations: 103.7 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008162/0.0008163, allocations: 35.95 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2088, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003858/0.2127, allocations: 2.784 MB / 376.6 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.2137, allocations: 0.6925 MB / 377.3 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.2139, allocations: 3.844 kB / 377.3 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.2141, allocations: 37.16 kB / 377.3 MB, free: 43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.2142, allocations: 71.86 kB / 377.4 MB, free: 42.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.2145, allocations: 84.89 kB / 377.5 MB, free: 42.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.2148, allocations: 358 kB / 377.8 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.215, allocations: 101.9 kB / 377.9 MB, free: 42.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.2152, allocations: 129.2 kB / 378.1 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.2153, allocations: 159.7 kB / 378.2 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.2154, allocations: 22.25 kB / 378.2 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.639e-05/0.2155, allocations: 22.91 kB / 378.3 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.2155, allocations: 67.3 kB / 378.3 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.2157, allocations: 147.2 kB / 378.5 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.2159, allocations: 365 kB / 378.8 MB, free: 42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.216, allocations: 0 / 378.8 MB, free: 42 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.216, allocations: 4 kB / 378.8 MB, free: 41.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.216, allocations: 0 / 378.8 MB, free: 41.99 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001104/0.2171, allocations: 0.647 MB / 379.5 MB, free: 41.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2171, allocations: 12.61 kB / 379.5 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.2172, allocations: 33.56 kB / 379.5 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.2175, allocations: 275.6 kB / 379.8 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.2175, allocations: 22.75 kB / 379.8 MB, free: 41.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.2175, allocations: 24.97 kB / 379.8 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.2181, allocations: 306.3 kB / 380.1 MB, free: 40.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2182, allocations: 0 / 380.1 MB, free: 40.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.2182, allocations: 10.12 kB / 380.2 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2182, allocations: 5.844 kB / 380.2 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000721/0.2189, allocations: 252.2 kB / 380.4 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.2204, allocations: 1.106 MB / 381.5 MB, free: 39.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/0.2212, allocations: 214.1 kB / 381.7 MB, free: 39.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.2215, allocations: 89.89 kB / 381.8 MB, free: 39.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2215, allocations: 1.375 kB / 381.8 MB, free: 39.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.2219, allocations: 166.2 kB / 382 MB, free: 39.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.2219, allocations: 1.156 kB / 382 MB, free: 39.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001889/0.2238, allocations: 0.5116 MB / 382.5 MB, free: 39.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2239, allocations: 113.6 kB / 382.6 MB, free: 39.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.2241, allocations: 281.1 kB / 382.9 MB, free: 38.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.2241, allocations: 31.67 kB / 382.9 MB, free: 38.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.2242, allocations: 192.6 kB / 383.1 MB, free: 38.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2242, allocations: 41.45 kB / 383.1 MB, free: 38.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/0.2243, allocations: 53.16 kB / 383.2 MB, free: 38.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.2244, allocations: 332.3 kB / 383.5 MB, free: 38.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.2247, allocations: 96.69 kB / 383.6 MB, free: 38.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.225, allocations: 198.5 kB / 383.8 MB, free: 38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/0.2256, allocations: 307.9 kB / 384.1 MB, free: 37.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.2256, allocations: 9.281 kB / 384.1 MB, free: 37.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001069/0.2267, allocations: 416.5 kB / 384.5 MB, free: 37.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.2268, allocations: 36.88 kB / 384.6 MB, free: 37.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2268, allocations: 3.594 kB / 384.6 MB, free: 37.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.2271, allocations: 81.84 kB / 384.6 MB, free: 37.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2273, allocations: 44.73 kB / 384.7 MB, free: 37.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.2291, allocations: 1.6 MB / 386.3 MB, free: 35.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.2294, allocations: 51.47 kB / 386.3 MB, free: 35.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.2294, allocations: 10 kB / 386.3 MB, free: 35.87 MB / 298.7 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.0001047/0.2295, allocations: 140.8 kB / 386.5 MB, free: 35.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.2296, allocations: 31.05 kB / 386.5 MB, free: 35.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.2296, allocations: 28.19 kB / 386.5 MB, free: 35.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2296, allocations: 9.391 kB / 386.5 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2296, allocations: 0 / 386.5 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2296, allocations: 0.5312 kB / 386.5 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.2298, allocations: 305.7 kB / 386.8 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2299, allocations: 1.125 kB / 386.8 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.23, allocations: 18.84 kB / 386.9 MB, free: 35.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.2302, allocations: 69.98 kB / 386.9 MB, free: 35.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2303, allocations: 5.188 kB / 386.9 MB, free: 35.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.2318, allocations: 1.575 MB / 388.5 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2318, allocations: 0 / 388.5 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.2331, allocations: 0.9772 MB / 389.5 MB, free: 32.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.2332, allocations: 115.7 kB / 389.6 MB, free: 32.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.2332, allocations: 5.969 kB / 389.6 MB, free: 32.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.2335, allocations: 33.11 kB / 389.6 MB, free: 32.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.2335, allocations: 23.97 kB / 389.7 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.2336, allocations: 4 kB / 389.7 MB, free: 32.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.2337, allocations: 202 kB / 389.9 MB, free: 32.6 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2337, allocations: 0 / 389.9 MB, free: 32.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004023/0.2341, allocations: 83.78 kB / 389.9 MB, free: 32.52 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 (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 8.52e-05/0.2342, allocations: 103.1 kB / 390 MB, free: 32.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000793/0.235, allocations: 414.4 kB / 390.4 MB, free: 31.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.235, allocations: 0 / 390.4 MB, free: 31.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.2354, allocations: 222.7 kB / 390.7 MB, free: 31.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.2357, allocations: 36.88 kB / 390.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008121/0.2365, allocations: 0.6837 MB / 391.4 MB, free: 30.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.2366, allocations: 0.7482 MB / 392.1 MB, free: 30.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.499e-05/0.2367, allocations: 30.27 kB / 392.2 MB, free: 30.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.2368, allocations: 27.38 kB / 392.2 MB, free: 30.16 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2368, allocations: 0 / 392.2 MB, free: 30.16 MB / 298.7 MB Notification: Performance of Templates: time 0.005669/0.2425, allocations: 3.966 MB / 396.2 MB, free: 26.22 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches