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) 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.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000956/0.0009561, allocations: 96.95 kB / 18.01 MB, free: 5.734 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: 204.1 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002624, allocations: 8 kB / 308.4 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08561, allocations: 51.52 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003227/0.08887, allocations: 2.555 MB / 362.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.09063, allocations: 0.7403 MB / 363.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.09095, allocations: 7.938 kB / 363.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.09115, allocations: 35.75 kB / 363.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.09144, allocations: 83.38 kB / 363.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.09182, allocations: 91.94 kB / 363.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.09231, allocations: 374.5 kB / 363.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.09255, allocations: 103.8 kB / 363.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.09288, allocations: 131.4 kB / 364 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.09312, allocations: 143.2 kB / 364.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.09317, allocations: 20 kB / 364.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.483e-05/0.09323, allocations: 20 kB / 364.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.09329, allocations: 51.81 kB / 364.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.09347, allocations: 172.9 kB / 364.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.09378, allocations: 323.3 kB / 364.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.0938, allocations: 0 / 364.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.0938, allocations: 0 / 364.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.09382, allocations: 0 / 364.7 MB, free: 8.422 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001215/0.09504, allocations: 0.6332 MB / 365.4 MB, free: 7.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.09508, allocations: 8.031 kB / 365.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.09518, allocations: 40.5 kB / 365.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.09552, allocations: 284.7 kB / 365.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.09555, allocations: 16.94 kB / 365.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.09561, allocations: 28.36 kB / 365.7 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.09634, allocations: 332 kB / 366.1 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.09636, allocations: 3.938 kB / 366.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.0964, allocations: 12 kB / 366.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.09641, allocations: 8 kB / 366.1 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008294/0.09725, allocations: 298.1 kB / 366.4 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.09931, allocations: 1.212 MB / 367.6 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/0.1002, allocations: 282.5 kB / 367.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.1006, allocations: 112.8 kB / 368 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1006, allocations: 8 kB / 368 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.1011, allocations: 188.8 kB / 368.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.1011, allocations: 0 / 368.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002167/0.1033, allocations: 0.6592 MB / 368.8 MB, free: 4.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.1034, allocations: 88.97 kB / 368.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.1037, allocations: 266.5 kB / 369.2 MB, free: 3.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1037, allocations: 25.7 kB / 369.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1039, allocations: 199.5 kB / 369.4 MB, free: 3.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.1039, allocations: 47.45 kB / 369.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.104, allocations: 21.7 kB / 369.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1041, allocations: 334.8 kB / 369.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.1045, allocations: 120.1 kB / 369.9 MB, free: 2.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.1049, allocations: 204.6 kB / 370.1 MB, free: 2.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/0.1057, allocations: 330.8 kB / 370.4 MB, free: 2.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1057, allocations: 0 / 370.4 MB, free: 2.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001288/0.107, allocations: 487.7 kB / 370.9 MB, free: 1.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.107, allocations: 33.64 kB / 370.9 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.107, allocations: 4 kB / 370.9 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.1074, allocations: 84.73 kB / 371 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.1076, allocations: 59.95 kB / 371.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1658/0.2735, allocations: 1.541 MB / 372.6 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.2739, allocations: 62.02 kB / 372.7 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.274, allocations: 13.91 kB / 372.7 MB, free: 18.81 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.2742, allocations: 144.3 kB / 372.8 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.2743, allocations: 24.69 kB / 372.9 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-05/0.2744, allocations: 28.94 kB / 372.9 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2744, allocations: 1.812 kB / 372.9 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2744, allocations: 1.141 kB / 372.9 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2744, allocations: 2.062 kB / 372.9 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.2748, allocations: 309.5 kB / 373.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2748, allocations: 2.531 kB / 373.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.275, allocations: 41.5 kB / 373.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.2753, allocations: 71.77 kB / 373.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2753, allocations: 5.672 kB / 373.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.2771, allocations: 1.541 MB / 374.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2771, allocations: 7.766 kB / 374.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.2786, allocations: 0.4909 MB / 375.4 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.2787, allocations: 97.47 kB / 375.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.2788, allocations: 6.672 kB / 375.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.279, allocations: 38.58 kB / 375.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.2791, allocations: 20.08 kB / 375.5 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2791, allocations: 3.672 kB / 375.5 MB, free: 17.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.2793, allocations: 195.2 kB / 375.7 MB, free: 17 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2793, allocations: 0.5 kB / 375.7 MB, free: 17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.2797, allocations: 70.36 kB / 375.8 MB, free: 17 MB / 302.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: 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 (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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.2798, allocations: 106.9 kB / 375.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009701/0.2808, allocations: 431 kB / 376.3 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2808, allocations: 0.6562 kB / 376.3 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.2813, allocations: 236.5 kB / 376.5 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.2816, allocations: 56.3 kB / 376.6 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.2852, allocations: 1.06 MB / 377.7 MB, free: 16.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.2854, allocations: 0.7515 MB / 378.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.2855, allocations: 24.23 kB / 378.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2855, allocations: 0 / 378.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Templates: time 0.007817/0.2933, allocations: 4.511 MB / 382.9 MB, free: 15.13 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches