Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 114.9 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 188.4 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 47.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3003, allocations: 49.44 MB / 401.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003871/0.3042, allocations: 2.795 MB / 404.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3055, allocations: 0.635 MB / 404.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.3057, allocations: 4 kB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.3059, allocations: 47.5 kB / 404.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.3062, allocations: 87.19 kB / 405 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.3065, allocations: 87.89 kB / 405.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.3069, allocations: 386.5 kB / 405.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.3071, allocations: 114.9 kB / 405.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.3073, allocations: 155.4 kB / 405.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.3075, allocations: 159.4 kB / 405.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.3075, allocations: 36 kB / 405.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.474e-05/0.3076, allocations: 36 kB / 405.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.3077, allocations: 71.69 kB / 406 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.3078, allocations: 171.2 kB / 406.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.3082, allocations: 371.9 kB / 406.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3082, allocations: 3.938 kB / 406.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3082, allocations: 4 kB / 406.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3082, allocations: 0 / 406.6 MB, free: 3.688 MB / 318.1 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.001259/0.3095, allocations: 0.642 MB / 407.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3096, allocations: 11.97 kB / 407.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.3096, allocations: 36.56 kB / 407.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.3101, allocations: 284.5 kB / 407.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.3102, allocations: 20.94 kB / 407.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.3102, allocations: 28.31 kB / 407.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000733/0.311, allocations: 295.7 kB / 407.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.311, allocations: 4 kB / 407.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.311, allocations: 12 kB / 407.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3111, allocations: 4 kB / 407.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.3118, allocations: 253.5 kB / 408.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.3134, allocations: 1.085 MB / 409.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/0.3142, allocations: 210.5 kB / 409.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.3145, allocations: 96.73 kB / 409.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3146, allocations: 0 / 409.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004406/0.315, allocations: 173.8 kB / 409.7 MB, free: 340 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.315, allocations: 0 / 409.7 MB, free: 340 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002087/0.3171, allocations: 0.5069 MB / 410.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3172, allocations: 102.8 kB / 410.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.3175, allocations: 286.6 kB / 410.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.3175, allocations: 29.7 kB / 410.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3177, allocations: 195.5 kB / 410.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.3177, allocations: 43.44 kB / 410.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/0.3178, allocations: 49.94 kB / 410.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3179, allocations: 338.8 kB / 411.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.3183, allocations: 92.16 kB / 411.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.3187, allocations: 210 kB / 411.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/0.3194, allocations: 305.4 kB / 411.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3194, allocations: 3.938 kB / 411.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001206/0.3206, allocations: 419.7 kB / 412.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.3206, allocations: 33.7 kB / 412.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3207, allocations: 7.984 kB / 412.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/0.321, allocations: 76.84 kB / 412.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.3212, allocations: 51.89 kB / 412.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.3237, allocations: 1.719 MB / 414.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.324, allocations: 51.66 kB / 414.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.3241, allocations: 19.98 kB / 414.2 MB, free: 11.48 MB / 334.1 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.0001493/0.3242, allocations: 149.3 kB / 414.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.3243, allocations: 23.72 kB / 414.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.3243, allocations: 25.7 kB / 414.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3243, allocations: 0 / 414.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3243, allocations: 0 / 414.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3243, allocations: 0 / 414.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.3246, allocations: 305.4 kB / 414.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3246, allocations: 192 / 414.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.3248, allocations: 19.98 kB / 414.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/0.325, allocations: 76.73 kB / 414.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3251, allocations: 0 / 414.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.3272, allocations: 1.703 MB / 416.5 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3272, allocations: 0 / 416.5 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3282, allocations: 317.4 kB / 416.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3284, allocations: 112.8 kB / 416.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.3284, allocations: 4 kB / 416.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.3287, allocations: 31.97 kB / 416.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.3288, allocations: 19.97 kB / 416.9 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3288, allocations: 11.98 kB / 416.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.329, allocations: 201.9 kB / 417.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.329, allocations: 0 / 417.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000336/0.3293, allocations: 75.84 kB / 417.2 MB, free: 8.188 MB / 334.1 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 0.000124/0.3295, allocations: 107.8 kB / 417.3 MB, free: 8.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009711/0.3304, allocations: 415 kB / 417.7 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3304, allocations: 0 / 417.7 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.3309, allocations: 230.5 kB / 418 MB, free: 7.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.3312, allocations: 44.98 kB / 418 MB, free: 7.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009397/0.3322, allocations: 489.8 kB / 418.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3325, allocations: 0.748 MB / 419.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.3325, allocations: 19.44 kB / 419.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3325, allocations: 0 / 419.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of Templates: time 0.006099/0.3386, allocations: 4.425 MB / 423.7 MB, free: 1.641 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches