Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 216 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 71.89 kB / 377.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2465, allocations: 53.41 MB / 431.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004459/0.251, allocations: 2.698 MB / 433.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2524, allocations: 0.6895 MB / 434.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.2526, allocations: 4 kB / 434.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.2528, allocations: 51.44 kB / 434.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.253, allocations: 111.2 kB / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.2533, allocations: 91.84 kB / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.2538, allocations: 394.5 kB / 435.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.2541, allocations: 81.36 kB / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.2544, allocations: 163.4 kB / 435.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.2547, allocations: 151.2 kB / 435.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.2548, allocations: 40 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.2549, allocations: 44 kB / 435.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.099e-05/0.2549, allocations: 75.7 kB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.2551, allocations: 139.4 kB / 435.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.2556, allocations: 442.3 kB / 436.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2556, allocations: 0 / 436.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2556, allocations: 0 / 436.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2556, allocations: 0 / 436.3 MB, free: 1.281 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0013/0.2569, allocations: 0.5848 MB / 436.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.257, allocations: 15.97 kB / 436.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.05e-05/0.2571, allocations: 54.73 kB / 437 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.753e-05/0.2572, allocations: 44.7 kB / 437 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.2576, allocations: 241.7 kB / 437.2 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.2576, allocations: 16.88 kB / 437.3 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.2577, allocations: 36.3 kB / 437.3 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.2583, allocations: 327.5 kB / 437.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2584, allocations: 0 / 437.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.2584, allocations: 12 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2584, allocations: 8 kB / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.259, allocations: 241.8 kB / 437.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.261, allocations: 0.9926 MB / 438.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/0.2618, allocations: 210.6 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.262, allocations: 84.8 kB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.262, allocations: 3.984 kB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004545/0.2625, allocations: 227.4 kB / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.2625, allocations: 0 / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001412/0.2639, allocations: 385.9 kB / 439.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.264, allocations: 110.8 kB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.2643, allocations: 269.8 kB / 440.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.2643, allocations: 25.7 kB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.2645, allocations: 204 kB / 440.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.2645, allocations: 51.62 kB / 440.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.465e-05/0.2646, allocations: 53.88 kB / 440.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2648, allocations: 334.8 kB / 440.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.2651, allocations: 121.8 kB / 440.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.2655, allocations: 261.4 kB / 441.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.2661, allocations: 273.7 kB / 441.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2661, allocations: 4 kB / 441.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009582/0.267, allocations: 417.5 kB / 441.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.2671, allocations: 29.7 kB / 441.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2671, allocations: 4 kB / 441.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.2674, allocations: 64.73 kB / 441.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.2676, allocations: 51.95 kB / 442 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.2694, allocations: 1.492 MB / 443.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.2696, allocations: 47.91 kB / 443.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.2697, allocations: 8 kB / 443.5 MB, free: 9.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.2698, allocations: 161.5 kB / 443.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.2699, allocations: 19.86 kB / 443.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.2699, allocations: 33.77 kB / 443.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.27, allocations: 3.938 kB / 443.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.27, allocations: 3.938 kB / 443.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.27, allocations: 4 kB / 443.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.2702, allocations: 260.6 kB / 444 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2703, allocations: 8 kB / 444 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.2704, allocations: 27.97 kB / 444 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.2707, allocations: 52.8 kB / 444.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.2707, allocations: 11.94 kB / 444.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.2723, allocations: 1.484 MB / 445.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2723, allocations: 0 / 445.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.2733, allocations: 389.6 kB / 446 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.2734, allocations: 31.81 kB / 446 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.2734, allocations: 4 kB / 446 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.2736, allocations: 27.95 kB / 446 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.2737, allocations: 28.03 kB / 446.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2737, allocations: 4 kB / 446.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.2739, allocations: 193.1 kB / 446.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2739, allocations: 0 / 446.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.2743, allocations: 75.89 kB / 446.3 MB, free: 6.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001386/0.2756, allocations: 0.9128 MB / 447.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008444/0.2765, allocations: 419.6 kB / 447.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2765, allocations: 4 kB / 447.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.2769, allocations: 218.5 kB / 447.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.2772, allocations: 56.91 kB / 447.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006027/0.2833, allocations: 3.192 MB / 451.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.2834, allocations: 154.8 kB / 451.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.2835, allocations: 26.28 kB / 451.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.2837, allocations: 79.41 kB / 451.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2837, allocations: 0 / 451.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03833/0.322, allocations: 7.368 MB / 458.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.76, allocations: 7.922 kB / 458.7 MB, free: 10 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.185025939252228]