Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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 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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 51.92 kB / 347.7 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3157, allocations: 49.14 MB / 396.9 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.006566/0.3222, allocations: 5.737 MB / 402.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003997/0.3262, allocations: 1.466 MB / 404.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008003/0.327, allocations: 18.88 kB / 404.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.3275, allocations: 158.4 kB / 404.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007202/0.3282, allocations: 275.1 kB / 404.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009708/0.3292, allocations: 354.2 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.3307, allocations: 1.243 MB / 406.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.3312, allocations: 293.5 kB / 406.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006921/0.3319, allocations: 475.4 kB / 406.9 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006226/0.3325, allocations: 0.527 MB / 407.4 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.3327, allocations: 125.4 kB / 407.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.3329, allocations: 158.8 kB / 407.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.3331, allocations: 251.6 kB / 407.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.3336, allocations: 0.5398 MB / 408.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.3354, allocations: 1.411 MB / 409.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3354, allocations: 3.984 kB / 409.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3354, allocations: 0 / 409.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.3355, allocations: 1.375 kB / 409.9 MB, free: 1.34 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002562/0.338, allocations: 1.247 MB / 411.1 MB, free: 448 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3381, allocations: 10.25 kB / 411.1 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.3383, allocations: 108.2 kB / 411.2 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.3389, allocations: 458.1 kB / 411.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/0.339, allocations: 58.09 kB / 411.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.3391, allocations: 85.98 kB / 411.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.3407, allocations: 0.888 MB / 412.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.3407, allocations: 0 / 412.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.3408, allocations: 35.78 kB / 412.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.3408, allocations: 19.84 kB / 412.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.3424, allocations: 0.7842 MB / 413.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004895/0.3473, allocations: 2.962 MB / 416.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3484, allocations: 0.6 MB / 417.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/0.349, allocations: 373.2 kB / 417.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/0.3491, allocations: 8.438 kB / 417.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3491, allocations: 51.66 kB / 417.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.874e-06/0.3491, allocations: 0 / 417.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.004443/0.3536, allocations: 2.128 MB / 419.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3536, allocations: 60.31 kB / 419.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000614/0.3542, allocations: 0.5062 MB / 420.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.3543, allocations: 44.36 kB / 420.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.3546, allocations: 393.5 kB / 420.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.3548, allocations: 270.8 kB / 420.9 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.355, allocations: 132.3 kB / 421 MB, free: 9.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3552, allocations: 378.3 kB / 421.4 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/0.3559, allocations: 307.6 kB / 421.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000686/0.3565, allocations: 424.1 kB / 422.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.3578, allocations: 0.747 MB / 422.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3578, allocations: 1.312 kB / 422.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002063/0.3599, allocations: 1.041 MB / 423.9 MB, free: 7.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3599, allocations: 4 kB / 423.9 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3599, allocations: 4 kB / 423.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005582/0.3605, allocations: 184.6 kB / 424.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.3613, allocations: 195.8 kB / 424.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003788/0.3651, allocations: 2.75 MB / 427 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.3656, allocations: 32.03 kB / 427.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.3656, allocations: 28 kB / 427.1 MB, free: 4.648 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(5,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000334/0.366, allocations: 221.8 kB / 427.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.3661, allocations: 75.53 kB / 427.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.3663, allocations: 90.16 kB / 427.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3663, allocations: 15.94 kB / 427.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.3663, allocations: 4 kB / 427.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3663, allocations: 3.984 kB / 427.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.3674, allocations: 0.8095 MB / 428.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3674, allocations: 0 / 428.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006821/0.3681, allocations: 147.8 kB / 428.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005039/0.3686, allocations: 176.7 kB / 428.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.3686, allocations: 19.98 kB / 428.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003746/0.3724, allocations: 2.763 MB / 431.4 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3724, allocations: 3.938 kB / 431.4 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.3749, allocations: 1.381 MB / 432.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.375, allocations: 63.53 kB / 432.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3751, allocations: 23.98 kB / 432.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.3756, allocations: 47.97 kB / 432.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3758, allocations: 56.48 kB / 433 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.3758, allocations: 23.98 kB / 433 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004219/0.3762, allocations: 362.8 kB / 433.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3762, allocations: 0 / 433.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008683/0.3771, allocations: 228 kB / 433.6 MB, free: 13.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(5,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002875/0.3774, allocations: 131.2 kB / 433.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.3796, allocations: 0.9628 MB / 434.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3796, allocations: 0 / 434.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.3809, allocations: 0.6119 MB / 435.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.3816, allocations: 130.3 kB / 435.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.385, allocations: 1.925 MB / 437.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.3857, allocations: 0.9577 MB / 438.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003611/0.386, allocations: 81.06 kB / 438.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.3862, allocations: 51.41 kB / 438.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3862, allocations: 0 / 438.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of Templates: time 0.02035/0.4065, allocations: 11.08 MB / 449.5 MB, free: 13.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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: 4.993340602144599]