Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 183 kB / 17.91 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.255/1.255, allocations: 205.1 MB / 223.7 MB, free: 8.5 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.0009176/0.000918, allocations: 95.64 kB / 271.2 MB, free: 8.461 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000759/0.0007591, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2035, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003337/0.2069, allocations: 2.756 MB / 376.6 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.2079, allocations: 0.7193 MB / 377.3 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.208, allocations: 3.312 kB / 377.3 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.2082, allocations: 32.05 kB / 377.3 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.2083, allocations: 75.92 kB / 377.4 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.2085, allocations: 90.78 kB / 377.5 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.2088, allocations: 331.7 kB / 377.8 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.209, allocations: 70.8 kB / 377.9 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2091, allocations: 122.1 kB / 378 MB, free: 42.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.2093, allocations: 140.2 kB / 378.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.2093, allocations: 17.41 kB / 378.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.558e-05/0.2094, allocations: 18.5 kB / 378.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.2094, allocations: 51.12 kB / 378.2 MB, free: 42.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.2095, allocations: 143.9 kB / 378.4 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.2098, allocations: 307.1 kB / 378.7 MB, free: 42.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2098, allocations: 0 / 378.7 MB, free: 42.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2098, allocations: 0 / 378.7 MB, free: 42.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2098, allocations: 1.25 kB / 378.7 MB, free: 42.14 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001074/0.2109, allocations: 0.6409 MB / 379.3 MB, free: 41.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.2109, allocations: 8.375 kB / 379.3 MB, free: 41.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.472e-05/0.211, allocations: 28.53 kB / 379.4 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.2113, allocations: 283.2 kB / 379.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2113, allocations: 13.84 kB / 379.6 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.2113, allocations: 21.44 kB / 379.7 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.2119, allocations: 250.8 kB / 379.9 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2119, allocations: 0 / 379.9 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.2119, allocations: 10.34 kB / 379.9 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2119, allocations: 4.469 kB / 379.9 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.2126, allocations: 249.4 kB / 380.2 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.2139, allocations: 0.8711 MB / 381 MB, free: 40.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.2146, allocations: 223 kB / 381.3 MB, free: 40.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.2149, allocations: 97 kB / 381.4 MB, free: 40.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.2149, allocations: 1.406 kB / 381.4 MB, free: 40.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004216/0.2153, allocations: 185.2 kB / 381.5 MB, free: 39.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.2153, allocations: 0 / 381.5 MB, free: 39.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.001872/0.2172, allocations: 0.5936 MB / 382.1 MB, free: 39.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.2173, allocations: 109.7 kB / 382.2 MB, free: 39.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.2175, allocations: 264 kB / 382.5 MB, free: 39.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.2175, allocations: 28.36 kB / 382.5 MB, free: 39.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.2176, allocations: 177.6 kB / 382.7 MB, free: 39.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.2176, allocations: 46.09 kB / 382.7 MB, free: 39.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.831e-05/0.2177, allocations: 50.61 kB / 382.8 MB, free: 38.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.2178, allocations: 335.2 kB / 383.1 MB, free: 38.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.2181, allocations: 98.78 kB / 383.2 MB, free: 38.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.2184, allocations: 177.8 kB / 383.4 MB, free: 38.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006185/0.2191, allocations: 271.2 kB / 383.7 MB, free: 38.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2191, allocations: 1.438 kB / 383.7 MB, free: 38.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001063/0.2201, allocations: 430.9 kB / 384.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.2202, allocations: 36.5 kB / 384.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2202, allocations: 2.25 kB / 384.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/0.2207, allocations: 115.2 kB / 384.2 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.2209, allocations: 40.78 kB / 384.3 MB, free: 37.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.2227, allocations: 1.728 MB / 386 MB, free: 36.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.223, allocations: 54.02 kB / 386 MB, free: 36.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.2231, allocations: 7.906 kB / 386.1 MB, free: 36.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003099/0.2234, allocations: 179.3 kB / 386.2 MB, free: 36.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002774/0.2237, allocations: 165.6 kB / 386.4 MB, free: 36.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000476/0.2241, allocations: 245.5 kB / 386.6 MB, free: 35.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.2242, allocations: 5.031 kB / 386.6 MB, free: 35.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.000697/0.2249, allocations: 342.3 kB / 387 MB, free: 35.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2249, allocations: 36.27 kB / 387 MB, free: 35.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2249, allocations: 5.906 kB / 387 MB, free: 35.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.225, allocations: 43.83 kB / 387.1 MB, free: 35.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.2252, allocations: 45.5 kB / 387.1 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000842/0.2261, allocations: 1.541 MB / 388.6 MB, free: 33.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.2264, allocations: 47.88 kB / 388.7 MB, free: 33.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2264, allocations: 8 kB / 388.7 MB, free: 33.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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 9.204e-05/0.2265, allocations: 192.2 kB / 388.9 MB, free: 33.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.2265, allocations: 35.62 kB / 388.9 MB, free: 33.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.2266, allocations: 21.84 kB / 388.9 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2266, allocations: 4 kB / 388.9 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.2266, allocations: 0 / 388.9 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2266, allocations: 3.984 kB / 388.9 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.2268, allocations: 297.6 kB / 389.2 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2268, allocations: 8 kB / 389.2 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.2269, allocations: 19.97 kB / 389.3 MB, free: 33.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/0.2271, allocations: 76.62 kB / 389.3 MB, free: 33.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2272, allocations: 0 / 389.3 MB, free: 33.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.2285, allocations: 1.678 MB / 391 MB, free: 31.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2285, allocations: 0 / 391 MB, free: 31.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.2296, allocations: 0.9939 MB / 392 MB, free: 30.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.2296, allocations: 104.8 kB / 392.1 MB, free: 30.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.2297, allocations: 0 / 392.1 MB, free: 30.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.2299, allocations: 32.14 kB / 392.1 MB, free: 30.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.23, allocations: 27.91 kB / 392.2 MB, free: 30.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.23, allocations: 11.94 kB / 392.2 MB, free: 30.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.2301, allocations: 190 kB / 392.4 MB, free: 29.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2301, allocations: 3.938 kB / 392.4 MB, free: 29.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007241/0.2309, allocations: 123.8 kB / 392.5 MB, free: 29.83 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 (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.0001113/0.231, allocations: 99.23 kB / 392.6 MB, free: 29.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.2323, allocations: 0.7333 MB / 393.3 MB, free: 28.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2323, allocations: 4 kB / 393.3 MB, free: 28.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.2327, allocations: 234.5 kB / 393.6 MB, free: 28.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.233, allocations: 53.84 kB / 393.6 MB, free: 28.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.2347, allocations: 0.9234 MB / 394.5 MB, free: 27.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.2349, allocations: 0.7522 MB / 395.3 MB, free: 26.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.235, allocations: 26.28 kB / 395.3 MB, free: 26.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.235, allocations: 19.44 kB / 395.3 MB, free: 26.86 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2351, allocations: 0 / 395.3 MB, free: 26.86 MB / 298.7 MB Notification: Performance of Templates: time 0.005969/0.241, allocations: 4.073 MB / 399.4 MB, free: 22.82 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches