Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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 3.2.3+maint.om/package.mo", uses=false) 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.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001244/0.001244, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB 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.001205/0.001205, allocations: 47.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07836/0.07958, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005678/0.08531, allocations: 5.16 MB / 333.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00893/0.09427, allocations: 8.665 MB / 342.5 MB, free: 5.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/0.09484, allocations: 35.69 kB / 342.6 MB, free: 5.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008446/0.09573, allocations: 377.4 kB / 342.9 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.09791, allocations: 0.8106 MB / 343.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.09943, allocations: 0.5907 MB / 344.3 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.1018, allocations: 1.646 MB / 346 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.102, allocations: 167 kB / 346.1 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.1024, allocations: 286.6 kB / 346.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.1027, allocations: 314 kB / 346.7 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.1028, allocations: 32 kB / 346.8 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1039, allocations: 0.5582 MB / 347.3 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.168e-05/0.1041, allocations: 103.3 kB / 347.4 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.1044, allocations: 409.4 kB / 347.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.1056, allocations: 1.199 MB / 349 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1056, allocations: 0 / 349 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1056, allocations: 4 kB / 349 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1057, allocations: 0 / 349 MB, free: 15.32 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001804/0.1075, allocations: 1.279 MB / 350.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1075, allocations: 8.031 kB / 350.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.1077, allocations: 111.6 kB / 350.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.1089, allocations: 0.8515 MB / 351.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.1089, allocations: 20.5 kB / 351.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.109, allocations: 28 kB / 351.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.1094, allocations: 307.7 kB / 351.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1095, allocations: 0 / 351.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.1095, allocations: 12 kB / 351.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1095, allocations: 8 kB / 351.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.1099, allocations: 234.1 kB / 351.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.1115, allocations: 1.179 MB / 353 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.1119, allocations: 194.7 kB / 353.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.1122, allocations: 229.2 kB / 353.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008212/0.1204, allocations: 8.565 MB / 362 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1205, allocations: 30.56 kB / 362.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.1205, allocations: 0 / 362.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001505/0.122, allocations: 0.666 MB / 362.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1221, allocations: 81.11 kB / 362.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008402/0.1229, allocations: 0.7948 MB / 363.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.123, allocations: 29.7 kB / 363.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.1233, allocations: 448.6 kB / 364.1 MB, free: 14.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.1234, allocations: 74.84 kB / 364.1 MB, free: 14.53 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.1234, allocations: 53.94 kB / 364.2 MB, free: 14.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1236, allocations: 325.9 kB / 364.5 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1237, allocations: 64.2 kB / 364.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.1239, allocations: 150.4 kB / 364.7 MB, free: 13.9 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.1242, allocations: 237 kB / 365 MB, free: 13.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1242, allocations: 0 / 365 MB, free: 13.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005846/0.1248, allocations: 408.7 kB / 365.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1249, allocations: 4 kB / 365.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/0.1249, allocations: 23.94 kB / 365.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.1253, allocations: 136.8 kB / 365.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1255, allocations: 40.19 kB / 365.6 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007125/0.1262, allocations: 0.7036 MB / 366.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.1264, allocations: 27.72 kB / 366.3 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.1265, allocations: 19.98 kB / 366.3 MB, free: 12.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002708/0.1268, allocations: 201.8 kB / 366.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1269, allocations: 102.8 kB / 366.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007384/0.1276, allocations: 403.3 kB / 367 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1276, allocations: 4 kB / 367 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1276, allocations: 4 kB / 367 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1277, allocations: 3.984 kB / 367 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.1282, allocations: 0.4995 MB / 367.5 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/0.1282, allocations: 12 kB / 367.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1284, allocations: 23.91 kB / 367.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/0.1287, allocations: 136.8 kB / 367.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.1287, allocations: 12 kB / 367.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005461/0.1292, allocations: 0.7005 MB / 368.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1293, allocations: 0 / 368.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.1298, allocations: 451.9 kB / 368.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.13, allocations: 175.8 kB / 369 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/0.1301, allocations: 4 kB / 369 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.1303, allocations: 7.984 kB / 369 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.1304, allocations: 23.92 kB / 369 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1304, allocations: 11.94 kB / 369 MB, free: 9.363 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005532/0.1309, allocations: 0.5344 MB / 369.6 MB, free: 8.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.442e-06/0.1309, allocations: 0 / 369.6 MB, free: 8.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000528/0.1315, allocations: 207.7 kB / 369.8 MB, free: 8.617 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005014/0.132, allocations: 291.3 kB / 370.1 MB, free: 8.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005855/0.1326, allocations: 279.8 kB / 370.3 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1326, allocations: 0 / 370.3 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.1329, allocations: 188.2 kB / 370.5 MB, free: 7.844 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.1335, allocations: 136.6 kB / 370.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.1352, allocations: 1.214 MB / 371.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.1357, allocations: 0.9411 MB / 372.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.1359, allocations: 110.7 kB / 372.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.136, allocations: 51.44 kB / 373 MB, free: 5.336 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.136, allocations: 0 / 373 MB, free: 5.336 MB / 318.1 MB Notification: Performance of Templates: time 0.1453/0.2813, allocations: 9.053 MB / 382 MB, free: 53.92 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches