Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001975/0.001975, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.659/1.659, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007553/0.0007554, allocations: 97.05 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003202, allocations: 12 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.244, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002554/0.2466, allocations: 2.207 MB / 376.8 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2478, allocations: 0.6734 MB / 377.4 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.2479, allocations: 8.094 kB / 377.4 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.2481, allocations: 27.02 kB / 377.5 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.2482, allocations: 75.11 kB / 377.5 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.2485, allocations: 63.3 kB / 377.6 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.2487, allocations: 291.3 kB / 377.9 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.2489, allocations: 63.11 kB / 378 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.2491, allocations: 105.2 kB / 378.1 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.2493, allocations: 125.7 kB / 378.2 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.2493, allocations: 14 kB / 378.2 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.461e-05/0.2494, allocations: 15.22 kB / 378.2 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.2494, allocations: 49.36 kB / 378.3 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.2495, allocations: 66.48 kB / 378.3 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.2497, allocations: 220.6 kB / 378.5 MB, free: 42.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2497, allocations: 0 / 378.5 MB, free: 42.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2497, allocations: 5.062 kB / 378.5 MB, free: 42.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2497, allocations: 0 / 378.5 MB, free: 42.36 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001098/0.2508, allocations: 0.5931 MB / 379.1 MB, free: 41.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2509, allocations: 13.31 kB / 379.2 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.251, allocations: 28.5 kB / 379.2 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.2512, allocations: 261.6 kB / 379.4 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.2513, allocations: 16.05 kB / 379.4 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.2513, allocations: 20.44 kB / 379.5 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.2519, allocations: 246.1 kB / 379.7 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2519, allocations: 1.031 kB / 379.7 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.252, allocations: 5.062 kB / 379.7 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.252, allocations: 5.125 kB / 379.7 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007739/0.2528, allocations: 280 kB / 380 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2541, allocations: 0.8461 MB / 380.8 MB, free: 40.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008213/0.255, allocations: 272.8 kB / 381.1 MB, free: 40.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.2553, allocations: 110.4 kB / 381.2 MB, free: 40.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.2553, allocations: 2.094 kB / 381.2 MB, free: 40.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005051/0.2558, allocations: 184.4 kB / 381.4 MB, free: 40.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.374e-06/0.2559, allocations: 1.219 kB / 381.4 MB, free: 40.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001872/0.2577, allocations: 0.6555 MB / 382.1 MB, free: 39.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.2578, allocations: 82.48 kB / 382.1 MB, free: 39.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.258, allocations: 237.5 kB / 382.4 MB, free: 39.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2581, allocations: 32.64 kB / 382.4 MB, free: 39.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.2581, allocations: 160.9 kB / 382.6 MB, free: 39.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.2582, allocations: 49.08 kB / 382.6 MB, free: 39.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.2582, allocations: 0 / 382.6 MB, free: 39.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.2583, allocations: 332.2 kB / 382.9 MB, free: 39.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.2586, allocations: 104.4 kB / 383 MB, free: 39.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.2589, allocations: 166.4 kB / 383.2 MB, free: 38.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.2593, allocations: 130.2 kB / 383.3 MB, free: 38.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2593, allocations: 5.328 kB / 383.3 MB, free: 38.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001104/0.2604, allocations: 441.1 kB / 383.8 MB, free: 38.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.447e-05/0.2605, allocations: 160.8 kB / 383.9 MB, free: 38.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2605, allocations: 1.062 kB / 383.9 MB, free: 38.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.2608, allocations: 63.19 kB / 384 MB, free: 38.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.2611, allocations: 53.72 kB / 384 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.2625, allocations: 1.496 MB / 385.5 MB, free: 36.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.2629, allocations: 50.16 kB / 385.6 MB, free: 36.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.2629, allocations: 6.344 kB / 385.6 MB, free: 36.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.2629, allocations: 6.312 kB / 385.6 MB, free: 36.94 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007314/0.2636, allocations: 296 kB / 385.9 MB, free: 36.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2637, allocations: 2.469 kB / 385.9 MB, free: 36.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.79e-05/0.2638, allocations: 24.41 kB / 385.9 MB, free: 36.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.264, allocations: 53.36 kB / 386 MB, free: 36.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007919/0.2648, allocations: 1.387 MB / 387.3 MB, free: 35.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.2651, allocations: 45.66 kB / 387.4 MB, free: 35.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.2651, allocations: 9.875 kB / 387.4 MB, free: 35.29 MB / 298.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 (20): * Single equations (assignments): 18 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.2653, allocations: 213.4 kB / 387.6 MB, free: 35.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.2653, allocations: 16.97 kB / 387.6 MB, free: 35.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.2654, allocations: 26.98 kB / 387.6 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2654, allocations: 1.062 kB / 387.6 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2654, allocations: 1.125 kB / 387.6 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2654, allocations: 7.922 kB / 387.7 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.2657, allocations: 280.1 kB / 387.9 MB, free: 34.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2657, allocations: 8 kB / 387.9 MB, free: 34.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.2659, allocations: 39.91 kB / 388 MB, free: 34.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.2661, allocations: 56.81 kB / 388 MB, free: 34.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.2661, allocations: 4 kB / 388 MB, free: 34.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.2672, allocations: 1.487 MB / 389.5 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2672, allocations: 7.922 kB / 389.5 MB, free: 33.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2683, allocations: 449.3 kB / 390 MB, free: 32.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.2684, allocations: 104.8 kB / 390.1 MB, free: 32.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.2684, allocations: 4 kB / 390.1 MB, free: 32.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.2686, allocations: 36.03 kB / 390.1 MB, free: 32.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.2687, allocations: 23.97 kB / 390.1 MB, free: 32.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2687, allocations: 3.938 kB / 390.1 MB, free: 32.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.2689, allocations: 172.5 kB / 390.3 MB, free: 32.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2689, allocations: 0 / 390.3 MB, free: 32.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004726/0.2694, allocations: 111.7 kB / 390.4 MB, free: 32.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.2695, allocations: 111.2 kB / 390.5 MB, free: 31.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.2707, allocations: 0.6916 MB / 391.2 MB, free: 31.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2708, allocations: 0 / 391.2 MB, free: 31.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.2711, allocations: 226.9 kB / 391.4 MB, free: 31.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.2715, allocations: 36.98 kB / 391.5 MB, free: 30.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.2725, allocations: 0.6203 MB / 392.1 MB, free: 30.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.2727, allocations: 0.744 MB / 392.8 MB, free: 29.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.869e-05/0.2728, allocations: 19.44 kB / 392.9 MB, free: 29.54 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2728, allocations: 0 / 392.9 MB, free: 29.54 MB / 298.7 MB Notification: Performance of Templates: time 0.005134/0.2779, allocations: 3.921 MB / 396.8 MB, free: 25.64 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches